Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.0008246/0.0008246, allocations: 94.11 kB / 17.35 MB, free: 6.344 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.0009084/0.0009083, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.25/1.25, allocations: 223.3 MB / 242.3 MB, free: 212 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.1821/0.1821, allocations: 44.26 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 12 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09158, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.001851/0.09347, allocations: 1.503 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.09534, allocations: 1.51 MB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.09541, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.09567, allocations: 39.83 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.09588, allocations: 75.67 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.09621, allocations: 159.6 kB / 475.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.09642, allocations: 175.5 kB / 475.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.09648, allocations: 9.562 kB / 475.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.09659, allocations: 71.58 kB / 475.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.09679, allocations: 82.7 kB / 476 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.09682, allocations: 4 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.09694, allocations: 55.97 kB / 476 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.097, allocations: 27.91 kB / 476.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.09708, allocations: 85.25 kB / 476.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.09731, allocations: 163.8 kB / 476.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.09732, allocations: 7.938 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09733, allocations: 0 / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.09734, allocations: 0 / 476.3 MB, free: 9.277 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005539/0.0979, allocations: 446.8 kB / 476.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.09794, allocations: 12.02 kB / 476.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.09798, allocations: 38.69 kB / 476.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.09803, allocations: 16.75 kB / 476.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.09827, allocations: 232 kB / 477 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.0983, allocations: 8.375 kB / 477.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.09832, allocations: 7.938 kB / 477.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.09851, allocations: 105 kB / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.09853, allocations: 0 / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.09854, allocations: 0 / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.09855, allocations: 0 / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.09865, allocations: 31.97 kB / 477.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.09885, allocations: 218.5 kB / 477.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.09909, allocations: 109.1 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.09919, allocations: 41.7 kB / 477.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.09922, allocations: 7.984 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.09943, allocations: 108.9 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.09944, allocations: 0 / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003904/0.09984, allocations: 165.4 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.09991, allocations: 132.5 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.1001, allocations: 211.8 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1001, allocations: 29.7 kB / 478.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.1002, allocations: 108.1 kB / 478.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1002, allocations: 39.58 kB / 478.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.1003, allocations: 13.72 kB / 478.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1004, allocations: 330.8 kB / 478.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.1005, allocations: 27.98 kB / 478.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.646e-05/0.1006, allocations: 71.89 kB / 478.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.1007, allocations: 91.88 kB / 478.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1008, allocations: 3.938 kB / 478.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002393/0.101, allocations: 137.4 kB / 479 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.101, allocations: 10.5 kB / 479 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.101, allocations: 0 / 479 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.101, allocations: 3.938 kB / 479 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1012, allocations: 27.98 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1012, allocations: 0 / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.1013, allocations: 15.95 kB / 479.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1013, allocations: 8 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.474e-05/0.1014, allocations: 134.2 kB / 479.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.1014, allocations: 19.8 kB / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1015, allocations: 21 kB / 479.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1015, allocations: 0 / 479.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1015, allocations: 0 / 479.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1015, allocations: 4 kB / 479.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.1016, allocations: 221.5 kB / 479.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1017, allocations: 0 / 479.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.1017, allocations: 8 kB / 479.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1017, allocations: 4 kB / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.056e-06/0.1017, allocations: 0 / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1017, allocations: 0 / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1017, allocations: 7.984 kB / 479.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.102, allocations: 169.6 kB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.1021, allocations: 104.8 kB / 479.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1021, allocations: 4 kB / 479.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.1022, allocations: 7.984 kB / 479.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.1022, allocations: 8 kB / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1022, allocations: 11.92 kB / 479.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1024, allocations: 156.2 kB / 479.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.1024, allocations: 0 / 479.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1026, allocations: 43.92 kB / 480 MB, free: 5.203 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0013/0.1039, allocations: 1.051 MB / 481 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1042, allocations: 87.89 kB / 481.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1042, allocations: 0 / 481.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.1043, allocations: 43.92 kB / 481.2 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1046, allocations: 43.95 kB / 481.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1064, allocations: 1.849 MB / 483 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1067, allocations: 0.7167 MB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.194e-05/0.1068, allocations: 33.47 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.108e-05/0.1068, allocations: 51.41 kB / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1068, allocations: 0 / 483.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.1219, allocations: 4.179 MB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.1222, allocations: 242.2 kB / 488.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/1.854, allocations: 0 / 488.3 MB, free: 13.04 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches