Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.0007233/0.0007233, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.0007889/0.000789, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.31/1.31, allocations: 223.3 MB / 242.3 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1766/0.1766, allocations: 44.24 MB / 337.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 8.938 kB / 410.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 61.92 MB / 472.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002162/0.1051, allocations: 1.592 MB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1067, allocations: 0.9551 MB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1068, allocations: 0 / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003544/0.1072, allocations: 155.6 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1075, allocations: 123.6 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.1079, allocations: 159.1 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1082, allocations: 219.3 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1083, allocations: 21.67 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1085, allocations: 103.5 kB / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1087, allocations: 123.5 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1087, allocations: 0 / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.1089, allocations: 59.97 kB / 475.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.109, allocations: 47.84 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.1091, allocations: 105 kB / 476 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1093, allocations: 207.5 kB / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.1093, allocations: 0 / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1093, allocations: 0 / 476.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.1093, allocations: 0 / 476.2 MB, free: 9.328 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007256/0.1101, allocations: 494.4 kB / 476.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1101, allocations: 15.97 kB / 476.7 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.673e-05/0.1102, allocations: 38.73 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.1103, allocations: 24.66 kB / 476.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1106, allocations: 275.4 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1107, allocations: 12.36 kB / 477.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1107, allocations: 11.94 kB / 477.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1109, allocations: 111.3 kB / 477.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.111, allocations: 0 / 477.2 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.111, allocations: 7.938 kB / 477.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.111, allocations: 4 kB / 477.2 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1111, allocations: 39.97 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1116, allocations: 468.7 kB / 477.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.112, allocations: 121.2 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.1121, allocations: 49.81 kB / 477.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1121, allocations: 3.938 kB / 477.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.1124, allocations: 121.1 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1124, allocations: 0 / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001235/0.1137, allocations: 493.1 kB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.1137, allocations: 85.05 kB / 478.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.114, allocations: 351 kB / 478.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1141, allocations: 29.7 kB / 478.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.1141, allocations: 140.5 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.1142, allocations: 78.98 kB / 479.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.1142, allocations: 21.72 kB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.966e-05/0.1144, allocations: 342.8 kB / 479.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1145, allocations: 55.98 kB / 479.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1146, allocations: 95.33 kB / 479.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.1149, allocations: 155.4 kB / 479.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1149, allocations: 3.938 kB / 479.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003524/0.1152, allocations: 241.1 kB / 480 MB, free: 5.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1152, allocations: 10.44 kB / 480 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1153, allocations: 4 kB / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1153, allocations: 0 / 480 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1154, allocations: 39.98 kB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1154, allocations: 240 / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/0.1155, allocations: 11.98 kB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1155, allocations: 8 kB / 480.1 MB, free: 5.156 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001325/0.1157, allocations: 162.3 kB / 480.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1157, allocations: 35.64 kB / 480.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.1158, allocations: 37.72 kB / 480.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1158, allocations: 4 kB / 480.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1158, allocations: 3.938 kB / 480.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1158, allocations: 0 / 480.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.1166, allocations: 0.7193 MB / 481 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.1166, allocations: 4 kB / 481.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.1167, allocations: 27.92 kB / 481.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1167, allocations: 4 kB / 481.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.1167, allocations: 8 kB / 481.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1167, allocations: 4 kB / 481.1 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1168, allocations: 3.938 kB / 481.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.1172, allocations: 417.8 kB / 481.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.1172, allocations: 104.8 kB / 481.6 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.1173, allocations: 12 kB / 481.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1174, allocations: 8 kB / 481.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1175, allocations: 23.91 kB / 481.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1175, allocations: 8 kB / 481.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1177, allocations: 265.9 kB / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1177, allocations: 0 / 481.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.118, allocations: 51.98 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.00166/0.1197, allocations: 1.36 MB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.12, allocations: 160 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.12, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1202, allocations: 87.78 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.1207, allocations: 53.45 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.1235, allocations: 2.718 MB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1238, allocations: 0.7599 MB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.1239, allocations: 45.89 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.124, allocations: 83.41 kB / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.124, allocations: 0 / 487.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.1405, allocations: 5.368 MB / 492.6 MB, free: 8.684 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.1407, allocations: 238.3 kB / 492.8 MB, free: 8.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/1.837, allocations: 4 kB / 492.8 MB, free: 8.422 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches