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.001194/0.001194, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001149/0.001149, allocations: 192 kB / 18.55 MB, free: 4.566 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.372/1.372, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1976/0.1976, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.83 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003741/0.114, allocations: 2.217 MB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1161, allocations: 1.196 MB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.1163, allocations: 7.938 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1167, allocations: 127.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.1172, allocations: 207.1 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007229/0.118, allocations: 319.4 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.1185, allocations: 422.8 kB / 473.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.1187, allocations: 57 kB / 473.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.1191, allocations: 291.1 kB / 474.2 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1193, allocations: 151.2 kB / 474.3 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.1194, allocations: 16 kB / 474.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1196, allocations: 67.98 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1197, allocations: 151.4 kB / 474.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.1199, allocations: 194.5 kB / 474.8 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.1204, allocations: 462.1 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1204, allocations: 0 / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1204, allocations: 3.938 kB / 475.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.1204, allocations: 0 / 475.2 MB, free: 8.406 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.001192/0.1216, allocations: 0.8554 MB / 476.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1217, allocations: 8.031 kB / 476.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.597e-05/0.1218, allocations: 54.67 kB / 476.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.1219, allocations: 64.09 kB / 476.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.1224, allocations: 440.1 kB / 476.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1224, allocations: 12.38 kB / 476.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.1225, allocations: 15.94 kB / 476.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1229, allocations: 197 kB / 476.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.1229, allocations: 4 kB / 476.8 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.1229, allocations: 4 kB / 476.8 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.123, allocations: 4 kB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.1232, allocations: 91.86 kB / 476.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1243, allocations: 0.8171 MB / 477.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.1249, allocations: 250.5 kB / 478 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1251, allocations: 83.53 kB / 478.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1252, allocations: 11.98 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004195/0.1256, allocations: 198.2 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.1256, allocations: 4 kB / 478.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002508/0.1281, allocations: 1.16 MB / 479.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.1282, allocations: 132.5 kB / 479.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.1291, allocations: 0.9261 MB / 480.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.1291, allocations: 37.7 kB / 480.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1293, allocations: 268.8 kB / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1294, allocations: 138.1 kB / 480.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1295, allocations: 78.03 kB / 481 MB, free: 2.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1297, allocations: 378.8 kB / 481.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.1299, allocations: 112.8 kB / 481.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.1302, allocations: 191.1 kB / 481.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.1307, allocations: 323 kB / 482 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1307, allocations: 0 / 482 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007195/0.1314, allocations: 436.5 kB / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1315, allocations: 8 kB / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1315, allocations: 128 / 482.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1315, allocations: 8 kB / 482.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.1318, allocations: 91.89 kB / 482.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1318, allocations: 7.938 kB / 482.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1319, allocations: 19.89 kB / 482.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.132, allocations: 16 kB / 482.6 MB, free: 0.6562 MB / 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.0002419/0.1322, allocations: 251.9 kB / 482.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.1323, allocations: 67.16 kB / 482.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1325, allocations: 93.36 kB / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.1325, allocations: 8 kB / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1325, allocations: 3.938 kB / 483 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1325, allocations: 3.984 kB / 483 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.134, allocations: 1.326 MB / 484.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.134, allocations: 4 kB / 484.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1342, allocations: 64.16 kB / 484.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1342, allocations: 7.938 kB / 484.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1342, allocations: 15.98 kB / 484.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1342, allocations: 4 kB / 484.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.1343, allocations: 7.938 kB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.1351, allocations: 0.785 MB / 485.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.1353, allocations: 176.2 kB / 485.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.1353, allocations: 23.92 kB / 485.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1356, allocations: 15.98 kB / 485.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.1357, allocations: 43.83 kB / 485.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.1358, allocations: 20 kB / 485.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006401/0.1364, allocations: 0.6747 MB / 486.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1364, allocations: 4 kB / 486.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.1369, allocations: 84 kB / 486.2 MB, free: 12.83 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.002111/0.139, allocations: 1.762 MB / 488 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006217/0.1397, allocations: 335.5 kB / 488.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1397, allocations: 4 kB / 488.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.14, allocations: 160.3 kB / 488.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.141, allocations: 130.8 kB / 488.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.1469, allocations: 5.184 MB / 493.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.1474, allocations: 0.9068 MB / 494.7 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000213/0.1477, allocations: 79.23 kB / 494.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.1479, allocations: 204.1 kB / 495 MB, free: 4.035 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1479, allocations: 4 kB / 495 MB, free: 4.031 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.1765, allocations: 11.03 MB / 0.4942 GB, free: 9.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/7.633, allocations: 4.062 kB / 0.4942 GB, free: 9.129 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