Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001812/0.001812, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.002154/0.002154, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 7.746 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.225/0.225, allocations: 44.94 MB / 358.8 MB, free: 6.035 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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.002336/0.002336, allocations: 63.91 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3649, allocations: 65.48 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003299/0.3682, allocations: 1.669 MB / 0.5587 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3701, allocations: 0.952 MB / 0.5596 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.3702, allocations: 0 / 0.5596 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.3705, allocations: 67.73 kB / 0.5597 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.3709, allocations: 111.5 kB / 0.5598 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.371, allocations: 71.72 kB / 0.5598 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.3712, allocations: 103.7 kB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.7e-05/0.3713, allocations: 4.234 kB / 0.5599 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.3714, allocations: 51.77 kB / 0.56 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3715, allocations: 51.77 kB / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.3715, allocations: 0 / 0.56 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.3716, allocations: 35.98 kB / 0.5601 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.3716, allocations: 19.92 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.3717, allocations: 31.73 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3719, allocations: 109.4 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3719, allocations: 0 / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3719, allocations: 0 / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3719, allocations: 0 / 0.5602 GB, free: 4.234 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.0005601/0.3725, allocations: 339.7 kB / 0.5605 GB, free: 3.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3725, allocations: 8.031 kB / 0.5605 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.3725, allocations: 34.75 kB / 0.5606 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3726, allocations: 12.84 kB / 0.5606 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3729, allocations: 151 kB / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3729, allocations: 384 / 0.5607 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.3729, allocations: 7.938 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.373, allocations: 53.61 kB / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3731, allocations: 0 / 0.5608 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3731, allocations: 8 kB / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3731, allocations: 0 / 0.5608 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3732, allocations: 15.98 kB / 0.5608 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3735, allocations: 156.7 kB / 0.561 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3737, allocations: 54.56 kB / 0.561 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.3737, allocations: 24.78 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3737, allocations: 0 / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.3739, allocations: 71.33 kB / 0.5611 GB, free: 3.184 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.3739, allocations: 0 / 0.5611 GB, free: 3.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.3742, allocations: 97.61 kB / 0.5612 GB, free: 3.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3743, allocations: 51.41 kB / 0.5613 GB, free: 3.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3745, allocations: 202.2 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3745, allocations: 25.7 kB / 0.5615 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.3746, allocations: 116.1 kB / 0.5616 GB, free: 2.664 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3746, allocations: 11.84 kB / 0.5616 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3747, allocations: 21.72 kB / 0.5616 GB, free: 2.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3748, allocations: 318.8 kB / 0.5619 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.573e-05/0.3749, allocations: 23.98 kB / 0.5619 GB, free: 2.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.3749, allocations: 25.7 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.375, allocations: 45.7 kB / 0.562 GB, free: 2.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.375, allocations: 3.938 kB / 0.562 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.3752, allocations: 89.53 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3752, allocations: 6.812 kB / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3752, allocations: 0 / 0.5621 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3752, allocations: 4 kB / 0.5621 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.3753, allocations: 11.98 kB / 0.5621 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3753, allocations: 160 / 0.5621 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.3754, allocations: 8 kB / 0.5621 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3754, allocations: 3.984 kB / 0.5621 GB, free: 2.07 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.0001099/0.3755, allocations: 136.7 kB / 0.5623 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.3755, allocations: 7.953 kB / 0.5623 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.3757, allocations: 103.1 kB / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3757, allocations: 0 / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3757, allocations: 0 / 0.5624 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3757, allocations: 7.969 kB / 0.5624 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3759, allocations: 164.6 kB / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3759, allocations: 0 / 0.5625 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.3759, allocations: 4 kB / 0.5625 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3759, allocations: 3.938 kB / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.376, allocations: 0 / 0.5625 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.376, allocations: 3.984 kB / 0.5625 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.376, allocations: 0 / 0.5625 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3762, allocations: 121 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.3762, allocations: 15.84 kB / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3762, allocations: 0 / 0.5627 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.3762, allocations: 8 kB / 0.5627 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3763, allocations: 3.984 kB / 0.5627 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3763, allocations: 4 kB / 0.5627 GB, free: 1.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.3764, allocations: 148.2 kB / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3764, allocations: 0 / 0.5628 GB, free: 1.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.3766, allocations: 23.94 kB / 0.5629 GB, free: 1.246 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.002011/0.3786, allocations: 0.9838 MB / 0.5638 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3788, allocations: 47.91 kB / 0.5639 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3788, allocations: 0 / 0.5639 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.3789, allocations: 19.98 kB / 0.5639 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3791, allocations: 26.86 kB / 0.5639 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.3809, allocations: 1.526 MB / 0.5654 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3811, allocations: 101.3 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.472e-05/0.3811, allocations: 8.734 kB / 0.5655 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.3812, allocations: 35.42 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3812, allocations: 0 / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.4126, allocations: 3.837 MB / 0.5693 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.67, allocations: 10.89 kB / 0.5693 GB, free: 10.76 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197433 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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: 14.935471280943602]