Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2131/0.2131, allocations: 46.09 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 79.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3617, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003413/0.3652, allocations: 1.926 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.367, allocations: 1.127 MB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3671, allocations: 1.875 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.3677, allocations: 223.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.3682, allocations: 223 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.3685, allocations: 115.1 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003464/0.3689, allocations: 252.1 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.369, allocations: 31.42 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.3692, allocations: 130.4 kB / 0.5345 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3694, allocations: 152.9 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.3694, allocations: 8.594 kB / 0.5347 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3696, allocations: 66.72 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3697, allocations: 62.27 kB / 0.5348 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.3698, allocations: 87.52 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.3702, allocations: 245.8 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3702, allocations: 0 / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.927e-06/0.3702, allocations: 1.312 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3702, allocations: 7.938 kB / 0.5351 GB, free: 10.11 MB / 398.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.0007432/0.371, allocations: 0.5724 MB / 0.5357 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.371, allocations: 10.28 kB / 0.5357 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.3711, allocations: 37.22 kB / 0.5357 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.3711, allocations: 29.75 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3715, allocations: 291.4 kB / 0.536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3715, allocations: 3.594 kB / 0.536 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3716, allocations: 25.66 kB / 0.5361 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.3718, allocations: 105.2 kB / 0.5362 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3718, allocations: 5.531 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3719, allocations: 5.266 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3719, allocations: 1.031 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.372, allocations: 49.72 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.3725, allocations: 485.9 kB / 0.5367 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.3729, allocations: 114.6 kB / 0.5368 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.373, allocations: 48.64 kB / 0.5368 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.373, allocations: 10.67 kB / 0.5369 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3732, allocations: 108.6 kB / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3733, allocations: 0 / 0.537 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001339/0.3746, allocations: 0.5125 MB / 0.5375 GB, free: 8.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3747, allocations: 87.38 kB / 0.5375 GB, free: 8.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.3752, allocations: 448.7 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.3752, allocations: 35.58 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3753, allocations: 159.5 kB / 0.5382 GB, free: 7.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.3754, allocations: 70.42 kB / 0.5382 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.3755, allocations: 45.17 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3756, allocations: 341.4 kB / 0.5386 GB, free: 7.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3758, allocations: 60.81 kB / 0.5387 GB, free: 7.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3759, allocations: 100.1 kB / 0.5387 GB, free: 7.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.3762, allocations: 153.1 kB / 0.5389 GB, free: 6.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3762, allocations: 4 kB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004127/0.3766, allocations: 238.4 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3766, allocations: 6.219 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3767, allocations: 1.344 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3767, allocations: 1.375 kB / 0.5391 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.3768, allocations: 38.8 kB / 0.5392 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3768, allocations: 2 kB / 0.5392 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.3769, allocations: 20.31 kB / 0.5392 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.3769, allocations: 14.56 kB / 0.5392 GB, free: 6.789 MB / 398.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.0001553/0.3771, allocations: 165 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3772, allocations: 34.25 kB / 0.5394 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.885e-05/0.3773, allocations: 40.56 kB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3773, allocations: 2.594 kB / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3773, allocations: 0 / 0.5394 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3773, allocations: 5.188 kB / 0.5394 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009364/0.3782, allocations: 0.7356 MB / 0.5402 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3782, allocations: 1.062 kB / 0.5402 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.3783, allocations: 36.02 kB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3783, allocations: 3.094 kB / 0.5402 GB, free: 5.961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3784, allocations: 7.797 kB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3784, allocations: 2.125 kB / 0.5402 GB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3784, allocations: 6.5 kB / 0.5402 GB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.3789, allocations: 418.8 kB / 0.5406 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.3789, allocations: 113.6 kB / 0.5407 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.379, allocations: 8.312 kB / 0.5407 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3791, allocations: 12.22 kB / 0.5407 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.3792, allocations: 25.53 kB / 0.5408 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3792, allocations: 7.906 kB / 0.5408 GB, free: 5.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003167/0.3795, allocations: 335.5 kB / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3795, allocations: 0 / 0.5411 GB, free: 5.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.3799, allocations: 48.14 kB / 0.5411 GB, free: 5.281 MB / 398.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.001934/0.3818, allocations: 1.367 MB / 0.5425 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.3822, allocations: 162.2 kB / 0.5426 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.3823, allocations: 0.9375 kB / 0.5426 GB, free: 4.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.3824, allocations: 83.12 kB / 0.5427 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.383, allocations: 63 kB / 0.5428 GB, free: 4.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.3863, allocations: 2.878 MB / 0.5456 GB, free: 1.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3867, allocations: 0.7831 MB / 0.5463 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3869, allocations: 45.64 kB / 0.5464 GB, free: 1.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.387, allocations: 103.4 kB / 0.5465 GB, free: 1.109 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.387, allocations: 0 / 0.5465 GB, free: 1.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.4102, allocations: 6.413 MB / 0.5528 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.116, allocations: 12.22 kB / 0.5528 GB, free: 10.79 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches