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.001094/0.001094, 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.001218/0.001218, 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.333/1.333, 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.2031/0.2031, allocations: 44.19 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 64.2 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.0035/0.107, allocations: 2.236 MB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1088, allocations: 1.193 MB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1089, allocations: 11.88 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.1092, allocations: 135.3 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1096, allocations: 195.1 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005932/0.1102, allocations: 320.9 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.1106, allocations: 422.8 kB / 473.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1108, allocations: 53.02 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1111, allocations: 283.1 kB / 474.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1112, allocations: 155.2 kB / 474.3 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.1113, allocations: 16 kB / 474.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1115, allocations: 71.98 kB / 474.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1116, allocations: 147.4 kB / 474.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1118, allocations: 202.4 kB / 474.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1122, allocations: 462.1 kB / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1122, allocations: 0 / 475.2 MB, free: 8.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1122, allocations: 3.938 kB / 475.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1122, allocations: 0 / 475.2 MB, free: 8.41 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.001031/0.1133, allocations: 0.8593 MB / 476.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1133, allocations: 8.031 kB / 476.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.1134, allocations: 50.67 kB / 476.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.1135, allocations: 72.09 kB / 476.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.114, allocations: 428.2 kB / 476.6 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.114, allocations: 12.36 kB / 476.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.114, allocations: 23.94 kB / 476.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.1144, allocations: 185 kB / 476.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1144, allocations: 0 / 476.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1144, allocations: 12 kB / 476.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1144, allocations: 4 kB / 476.9 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.1147, allocations: 91.86 kB / 476.9 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.1155, allocations: 0.8171 MB / 477.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.1161, allocations: 246.5 kB / 478 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1163, allocations: 87.53 kB / 478.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1163, allocations: 4 kB / 478.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.1167, allocations: 214.2 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.764e-06/0.1167, allocations: 0 / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00231/0.119, allocations: 1.153 MB / 479.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1191, allocations: 132.5 kB / 479.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008844/0.12, allocations: 0.9222 MB / 480.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.12, allocations: 33.7 kB / 480.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.1202, allocations: 264.9 kB / 480.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1203, allocations: 142.1 kB / 480.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.1204, allocations: 82.05 kB / 481 MB, free: 2.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1206, allocations: 382.8 kB / 481.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1209, allocations: 116.8 kB / 481.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1211, allocations: 183.1 kB / 481.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.1216, allocations: 319 kB / 482 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1216, allocations: 4 kB / 482 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007006/0.1224, allocations: 440.5 kB / 482.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1224, allocations: 8 kB / 482.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1224, allocations: 0 / 482.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.1224, allocations: 4 kB / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.1227, allocations: 87.89 kB / 482.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1227, allocations: 7.938 kB / 482.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.1229, allocations: 24.03 kB / 482.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1229, allocations: 23.98 kB / 482.6 MB, free: 0.6641 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.0002585/0.1232, allocations: 259.9 kB / 482.8 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.1232, allocations: 67.16 kB / 482.9 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1234, allocations: 89.42 kB / 483 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1234, allocations: 4 kB / 483 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1234, allocations: 7.938 kB / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1234, allocations: 0 / 483 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.1251, allocations: 1.323 MB / 484.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1251, allocations: 4 kB / 484.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.1252, allocations: 59.91 kB / 484.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1252, allocations: 8.094 kB / 484.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1253, allocations: 15.94 kB / 484.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1253, allocations: 11.92 kB / 484.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1253, allocations: 7.938 kB / 484.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.1261, allocations: 0.7852 MB / 485.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.1263, allocations: 176.2 kB / 485.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.1264, allocations: 19.92 kB / 485.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1267, allocations: 19.98 kB / 485.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.1268, allocations: 39.84 kB / 485.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.1268, allocations: 23.98 kB / 485.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.1275, allocations: 0.6786 MB / 486.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1275, allocations: 0 / 486.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.128, allocations: 80 kB / 486.2 MB, free: 12.84 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.002349/0.1304, allocations: 1.759 MB / 488 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006384/0.131, allocations: 339.6 kB / 488.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.131, allocations: 0 / 488.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.1313, allocations: 164.3 kB / 488.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.1323, allocations: 134.5 kB / 488.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.1382, allocations: 5.177 MB / 493.8 MB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.1387, allocations: 0.907 MB / 494.7 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.139, allocations: 83.23 kB / 494.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.1392, allocations: 199.4 kB / 495 MB, free: 4.051 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1392, allocations: 0 / 495 MB, free: 4.051 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.1672, allocations: 11.04 MB / 0.4942 GB, free: 9.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.566, allocations: 7.984 kB / 0.4942 GB, free: 9.137 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.csv --start-time 0 --stop-time 11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0044 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.csv","/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