Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001621/0.001621, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001965/0.001965, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2384/0.2384, allocations: 44.91 MB / 358.8 MB, free: 6.316 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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.002056/0.002056, allocations: 71.89 kB / 0.4932 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 65.47 MB / 0.5571 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003715/0.3663, allocations: 1.742 MB / 0.5588 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.3683, allocations: 1.045 MB / 0.5598 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.3684, allocations: 4 kB / 0.5598 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003924/0.3688, allocations: 43.75 kB / 0.5599 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3691, allocations: 99.53 kB / 0.56 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3694, allocations: 75.73 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3696, allocations: 107.7 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.3697, allocations: 9.766 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3698, allocations: 51.77 kB / 0.5602 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.3699, allocations: 27.86 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3699, allocations: 4 kB / 0.5602 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.37, allocations: 43.92 kB / 0.5603 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.3701, allocations: 23.91 kB / 0.5603 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.933e-05/0.3701, allocations: 43.73 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3704, allocations: 119.4 kB / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3704, allocations: 0 / 0.5604 GB, free: 4.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3704, allocations: 4 kB / 0.5604 GB, free: 4.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3704, allocations: 0 / 0.5604 GB, free: 4.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006039/0.371, allocations: 341.6 kB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.371, allocations: 12.03 kB / 0.5608 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.3711, allocations: 34.69 kB / 0.5608 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3711, allocations: 12.89 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.3714, allocations: 162.9 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3715, allocations: 4.375 kB / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3715, allocations: 3.938 kB / 0.561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3716, allocations: 53.67 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3717, allocations: 3.984 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3717, allocations: 0 / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3717, allocations: 4 kB / 0.561 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.3718, allocations: 23.92 kB / 0.5611 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.3722, allocations: 260 kB / 0.5613 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.3724, allocations: 46.69 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.3724, allocations: 20.84 kB / 0.5614 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.3724, allocations: 3.984 kB / 0.5614 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3726, allocations: 75.33 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3726, allocations: 3.938 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005391/0.3732, allocations: 177.3 kB / 0.5616 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3732, allocations: 51.41 kB / 0.5617 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.3734, allocations: 198.2 kB / 0.5619 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.3734, allocations: 29.7 kB / 0.5619 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3735, allocations: 112.1 kB / 0.562 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.3736, allocations: 27.73 kB / 0.562 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.3736, allocations: 25.7 kB / 0.5621 GB, free: 2.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3738, allocations: 326.8 kB / 0.5624 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.3738, allocations: 16 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.3739, allocations: 33.7 kB / 0.5624 GB, free: 2.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.374, allocations: 69.7 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.374, allocations: 4 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.3742, allocations: 97.58 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3742, allocations: 8 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3742, allocations: 0 / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3743, allocations: 0 / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.3743, allocations: 15.94 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3743, allocations: 4 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3744, allocations: 12.3 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3744, allocations: 4 kB / 0.5626 GB, free: 1.902 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 (10): * Single equations (assignments): 10 * 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.0001117/0.3745, allocations: 125.9 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3745, allocations: 15.91 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.3748, allocations: 119 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3748, allocations: 0 / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3748, allocations: 0 / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3748, allocations: 7.922 kB / 0.5629 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.3753, allocations: 362.4 kB / 0.5632 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3753, allocations: 4.031 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.3754, allocations: 8 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3754, allocations: 3.938 kB / 0.5632 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3754, allocations: 8 kB / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3754, allocations: 0 / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3754, allocations: 0 / 0.5632 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3756, allocations: 208.4 kB / 0.5634 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3757, allocations: 11.95 kB / 0.5635 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.3757, allocations: 11.94 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.3758, allocations: 0 / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.3758, allocations: 7.984 kB / 0.5635 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3758, allocations: 4 kB / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.376, allocations: 148.2 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3762, allocations: 24.12 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002282/0.3785, allocations: 1.104 MB / 0.5647 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.3787, allocations: 51.97 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3787, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.219e-05/0.3788, allocations: 27.92 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3792, allocations: 33.59 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3812, allocations: 1.658 MB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.3815, allocations: 0.708 MB / 0.5671 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.229e-05/0.3816, allocations: 17.27 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.3817, allocations: 35.42 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3817, allocations: 4 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.4152, allocations: 3.628 MB / 0.5707 GB, free: 9.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 4.812 kB / 0.5707 GB, free: 9.602 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.964378880002187]