Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 213.5 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.89 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3814, allocations: 65.48 MB / 0.557 GB, free: 7.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003539/0.3849, allocations: 1.66 MB / 0.5587 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.3867, allocations: 0.9442 MB / 0.5596 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.3867, allocations: 0 / 0.5596 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.3871, allocations: 71.7 kB / 0.5596 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.3874, allocations: 111.5 kB / 0.5598 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.3876, allocations: 67.73 kB / 0.5598 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.3878, allocations: 115.6 kB / 0.5599 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.3879, allocations: 4.234 kB / 0.5599 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.388, allocations: 47.78 kB / 0.56 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3881, allocations: 51.75 kB / 0.56 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3881, allocations: 4 kB / 0.56 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.3882, allocations: 24 kB / 0.5601 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.3883, allocations: 19.92 kB / 0.5601 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.582e-05/0.3883, allocations: 27.84 kB / 0.5601 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3886, allocations: 113.4 kB / 0.5602 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3886, allocations: 3.938 kB / 0.5602 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3886, allocations: 0 / 0.5602 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3886, allocations: 0 / 0.5602 GB, free: 4.125 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006142/0.3892, allocations: 341.6 kB / 0.5605 GB, free: 3.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3893, allocations: 12.03 kB / 0.5605 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.3893, allocations: 30.75 kB / 0.5606 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.3894, allocations: 12.84 kB / 0.5606 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.3896, allocations: 147.1 kB / 0.5607 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3897, allocations: 384 / 0.5607 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3897, allocations: 15.92 kB / 0.5607 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3898, allocations: 45.62 kB / 0.5608 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3898, allocations: 3.984 kB / 0.5608 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3899, allocations: 3.984 kB / 0.5608 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3899, allocations: 0 / 0.5608 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.541e-05/0.3899, allocations: 16 kB / 0.5608 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.3902, allocations: 156.7 kB / 0.561 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.3904, allocations: 50.56 kB / 0.561 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.3904, allocations: 24.84 kB / 0.561 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.3904, allocations: 0 / 0.561 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.3906, allocations: 71.33 kB / 0.5611 GB, free: 3.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3906, allocations: 0 / 0.5611 GB, free: 3.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003138/0.3909, allocations: 101.6 kB / 0.5612 GB, free: 2.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.391, allocations: 55.41 kB / 0.5613 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.3912, allocations: 194.3 kB / 0.5614 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3912, allocations: 33.64 kB / 0.5615 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.3913, allocations: 104.1 kB / 0.5616 GB, free: 2.562 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.3914, allocations: 23.78 kB / 0.5616 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3914, allocations: 29.69 kB / 0.5616 GB, free: 2.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3916, allocations: 322.8 kB / 0.5619 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.602e-05/0.3916, allocations: 12 kB / 0.5619 GB, free: 2.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.3917, allocations: 29.7 kB / 0.562 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3918, allocations: 45.7 kB / 0.562 GB, free: 2.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3918, allocations: 3.938 kB / 0.562 GB, free: 2.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001685/0.392, allocations: 89.53 kB / 0.5621 GB, free: 1.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.392, allocations: 4 kB / 0.5621 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.392, allocations: 4.031 kB / 0.5621 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.392, allocations: 3.984 kB / 0.5621 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.447e-05/0.3921, allocations: 12 kB / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3921, allocations: 0 / 0.5621 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.3922, allocations: 4 kB / 0.5621 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3922, allocations: 0 / 0.5621 GB, free: 1.957 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001528/0.3923, allocations: 135.7 kB / 0.5623 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3923, allocations: 11.95 kB / 0.5623 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3926, allocations: 90.91 kB / 0.5624 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3926, allocations: 4.375 kB / 0.5624 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3926, allocations: 4 kB / 0.5624 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3926, allocations: 0 / 0.5624 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3928, allocations: 160.6 kB / 0.5625 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3928, allocations: 0 / 0.5625 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.3928, allocations: 8 kB / 0.5625 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.3928, allocations: 3.984 kB / 0.5625 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3928, allocations: 0 / 0.5625 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3928, allocations: 3.984 kB / 0.5625 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3928, allocations: 3.938 kB / 0.5625 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3931, allocations: 121 kB / 0.5626 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.3931, allocations: 15.91 kB / 0.5627 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.3931, allocations: 0 / 0.5627 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.3931, allocations: 0 / 0.5627 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3932, allocations: 7.984 kB / 0.5627 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3932, allocations: 4 kB / 0.5627 GB, free: 1.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3933, allocations: 148.2 kB / 0.5628 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3933, allocations: 0 / 0.5628 GB, free: 1.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.3935, allocations: 27.88 kB / 0.5628 GB, free: 1.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002031/0.3956, allocations: 0.998 MB / 0.5638 GB, free: 300 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.3957, allocations: 39.98 kB / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3957, allocations: 0 / 0.5639 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.3958, allocations: 27.92 kB / 0.5639 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3961, allocations: 22.48 kB / 0.5639 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.398, allocations: 1.53 MB / 0.5654 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.3981, allocations: 93.31 kB / 0.5655 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.3982, allocations: 12.48 kB / 0.5655 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.3982, allocations: 35.42 kB / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3982, allocations: 0 / 0.5655 GB, free: 14.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.4293, allocations: 3.836 MB / 0.5693 GB, free: 10.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.73, allocations: 3.984 kB / 0.5693 GB, free: 10.65 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.048046461306512]