Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008681/0.0008682, allocations: 96.3 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000983/0.0009831, allocations: 172.5 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1721/0.1721, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 8.938 kB / 410.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.08934, allocations: 61.92 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002183/0.09155, allocations: 1.919 MB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.09319, allocations: 1.169 MB / 475.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.09329, allocations: 3.938 kB / 475.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.09362, allocations: 127.6 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.09393, allocations: 167.4 kB / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.09447, allocations: 291.9 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.09484, allocations: 406.8 kB / 476.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.09498, allocations: 49.02 kB / 476.5 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.09526, allocations: 279 kB / 476.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.09542, allocations: 139.2 kB / 476.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.09546, allocations: 8 kB / 476.9 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.09558, allocations: 63.92 kB / 477 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.09572, allocations: 139.4 kB / 477.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.09588, allocations: 212.1 kB / 477.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.09624, allocations: 442.1 kB / 477.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09625, allocations: 0 / 477.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09626, allocations: 7.938 kB / 477.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.09627, allocations: 3.938 kB / 477.7 MB, free: 7.855 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008442/0.09712, allocations: 0.7741 MB / 478.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.09716, allocations: 8.031 kB / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.09721, allocations: 50.67 kB / 478.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.09729, allocations: 72.09 kB / 478.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.09769, allocations: 436.2 kB / 479.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.09772, allocations: 12.36 kB / 479.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.09776, allocations: 19.94 kB / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.09808, allocations: 193.4 kB / 479.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.09811, allocations: 7.906 kB / 479.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.09813, allocations: 8 kB / 479.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.09814, allocations: 4 kB / 479.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.09836, allocations: 99.84 kB / 479.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.09911, allocations: 0.8171 MB / 480.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.09966, allocations: 246.5 kB / 480.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.09984, allocations: 83.47 kB / 480.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.09987, allocations: 11.98 kB / 480.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.1002, allocations: 204.4 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.422e-06/0.1002, allocations: 0 / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002122/0.1024, allocations: 1.144 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.1024, allocations: 144.5 kB / 482 MB, free: 3.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.1032, allocations: 0.9183 MB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1033, allocations: 37.7 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.1035, allocations: 264.9 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.1036, allocations: 142.1 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.1036, allocations: 37.7 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1037, allocations: 378.8 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.104, allocations: 116.8 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1042, allocations: 179.2 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.1047, allocations: 319 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1047, allocations: 4 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006398/0.1053, allocations: 444.4 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1054, allocations: 8 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1054, allocations: 0 / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1054, allocations: 4 kB / 484.9 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1057, allocations: 83.89 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1057, allocations: 11.88 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.1058, allocations: 28.11 kB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1059, allocations: 16 kB / 485 MB, free: 228 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002324/0.1061, allocations: 248 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.1062, allocations: 75.05 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1063, allocations: 90.3 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1063, allocations: 7.938 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1063, allocations: 3.938 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.1063, allocations: 7.984 kB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.1077, allocations: 1.326 MB / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1078, allocations: 0 / 486.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.1079, allocations: 59.92 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.1079, allocations: 4 kB / 486.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.108, allocations: 15.98 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.108, allocations: 8 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.108, allocations: 16.12 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007262/0.1087, allocations: 0.7853 MB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1089, allocations: 188.2 kB / 487.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.109, allocations: 19.94 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1092, allocations: 19.98 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.1093, allocations: 43.83 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.1093, allocations: 23.98 kB / 487.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.11, allocations: 0.6786 MB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.11, allocations: 0 / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000477/0.1104, allocations: 87.98 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001997/0.1124, allocations: 1.753 MB / 490.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.113, allocations: 319.5 kB / 490.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.113, allocations: 0 / 490.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1133, allocations: 163.7 kB / 490.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.1144, allocations: 117.7 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.12, allocations: 5.333 MB / 496.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1204, allocations: 0.9058 MB / 497.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.1206, allocations: 79.23 kB / 497.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.1209, allocations: 199.4 kB / 497.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1209, allocations: 0 / 497.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.1408, allocations: 10.36 MB / 0.496 GB, free: 9.285 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.141, allocations: 234.3 kB / 0.4962 GB, free: 9.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.952, allocations: 0 / 0.4962 GB, free: 9.031 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches