Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 211.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2326/0.2326, allocations: 46.95 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3152, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003031/0.3182, allocations: 1.62 MB / 0.5622 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3193, allocations: 0.5271 MB / 0.5627 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.3193, allocations: 4 kB / 0.5627 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.3196, allocations: 83.69 kB / 0.5628 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.3199, allocations: 103.6 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.3202, allocations: 115 kB / 0.563 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3204, allocations: 87.73 kB / 0.5631 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.3205, allocations: 9.828 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.3206, allocations: 43.89 kB / 0.5631 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3207, allocations: 59.75 kB / 0.5632 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3207, allocations: 8 kB / 0.5632 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.3208, allocations: 43.98 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.3209, allocations: 23.86 kB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.3209, allocations: 27.8 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3211, allocations: 107.5 kB / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3211, allocations: 0 / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3211, allocations: 0 / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3211, allocations: 0 / 0.5634 GB, free: 1.391 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004976/0.3216, allocations: 341.6 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3217, allocations: 15.97 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.3217, allocations: 34.75 kB / 0.5638 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3217, allocations: 12.84 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.3219, allocations: 147 kB / 0.5639 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3219, allocations: 8.375 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.322, allocations: 384 / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3221, allocations: 61.61 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3221, allocations: 0 / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.3221, allocations: 0 / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3221, allocations: 0 / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.3222, allocations: 27.92 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.3227, allocations: 271.9 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.3228, allocations: 46.56 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.3229, allocations: 16.94 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3229, allocations: 7.938 kB / 0.5643 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3229, allocations: 34.56 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.3229, allocations: 0 / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009579/0.3239, allocations: 245.5 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3239, allocations: 51.41 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3242, allocations: 218.2 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3242, allocations: 25.7 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.3243, allocations: 108 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3243, allocations: 31.73 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3244, allocations: 21.72 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3245, allocations: 322.8 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.302e-05/0.3246, allocations: 35.97 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.3247, allocations: 23.98 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.3249, allocations: 85.03 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3249, allocations: 0 / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002418/0.3251, allocations: 113.6 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3251, allocations: 8 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3251, allocations: 7.938 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3252, allocations: 0 / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3253, allocations: 15.98 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.3253, allocations: 3.938 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.3253, allocations: 7.984 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3253, allocations: 4 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.3254, allocations: 133.8 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3255, allocations: 11.91 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.3258, allocations: 131 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3258, allocations: 0 / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3258, allocations: 7.922 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3258, allocations: 0 / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3264, allocations: 378.4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3264, allocations: 4 kB / 0.5663 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.3265, allocations: 23.92 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3265, allocations: 0 / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3265, allocations: 7.938 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3265, allocations: 4.031 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3265, allocations: 0 / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.3268, allocations: 212.3 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3268, allocations: 19.83 kB / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.3268, allocations: 0 / 0.5665 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.3269, allocations: 4 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.3269, allocations: 7.984 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3269, allocations: 4 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.3271, allocations: 164.2 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3271, allocations: 4 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.3274, allocations: 27.92 kB / 0.5667 GB, free: 13.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002338/0.3297, allocations: 1.139 MB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.33, allocations: 67.89 kB / 0.5679 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.33, allocations: 0 / 0.5679 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.3301, allocations: 39.97 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3305, allocations: 26.55 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3326, allocations: 1.724 MB / 0.5697 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3327, allocations: 92.75 kB / 0.5697 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.751e-05/0.3328, allocations: 24.94 kB / 0.5698 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.3329, allocations: 39.42 kB / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3329, allocations: 0 / 0.5698 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.3622, allocations: 3.764 MB / 0.5735 GB, free: 6.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.09, allocations: 8.062 kB / 0.5735 GB, free: 6.883 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.055524686991703]