Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001344/0.001344, allocations: 113.2 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.001417/0.001417, allocations: 212.7 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2803/0.2803, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 179] 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",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.002047/0.002047, allocations: 71.89 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4518/0.4539, allocations: 65.46 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003392/0.4573, allocations: 1.75 MB / 0.5588 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.4592, allocations: 1.044 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.4593, allocations: 4 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.4596, allocations: 47.77 kB / 0.5599 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.4599, allocations: 99.53 kB / 0.56 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.4601, allocations: 75.67 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4603, allocations: 111.6 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4604, allocations: 9.828 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4605, allocations: 47.78 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.4606, allocations: 27.86 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.4607, allocations: 7.984 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4608, allocations: 43.92 kB / 0.5603 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.4608, allocations: 23.92 kB / 0.5603 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.4609, allocations: 39.69 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.4611, allocations: 119.5 kB / 0.5604 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.4611, allocations: 8 kB / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4611, allocations: 0 / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4611, allocations: 0 / 0.5605 GB, free: 4.293 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.0006148/0.4618, allocations: 357.4 kB / 0.5608 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4618, allocations: 8.031 kB / 0.5608 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.4619, allocations: 30.75 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.4619, allocations: 12.89 kB / 0.5608 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.4622, allocations: 162.2 kB / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4622, allocations: 384 / 0.561 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.4622, allocations: 11.92 kB / 0.561 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4624, allocations: 57.67 kB / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4624, allocations: 0 / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.4624, allocations: 0 / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4624, allocations: 0 / 0.5611 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.4625, allocations: 19.98 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.4629, allocations: 271.9 kB / 0.5613 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.4631, allocations: 50.62 kB / 0.5614 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.4632, allocations: 20.84 kB / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.4632, allocations: 0 / 0.5614 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.4633, allocations: 71.39 kB / 0.5615 GB, free: 3.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.4633, allocations: 3.984 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000589/0.4639, allocations: 177.3 kB / 0.5616 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.464, allocations: 51.41 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.4642, allocations: 222.6 kB / 0.5619 GB, free: 2.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4643, allocations: 29.69 kB / 0.5619 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.4643, allocations: 104.1 kB / 0.562 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.4644, allocations: 27.78 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.4644, allocations: 25.72 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4646, allocations: 330.7 kB / 0.5624 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.228e-05/0.4646, allocations: 23.98 kB / 0.5624 GB, free: 2.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.4647, allocations: 37.64 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.4648, allocations: 61.7 kB / 0.5625 GB, free: 1.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4648, allocations: 4 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.465, allocations: 101.5 kB / 0.5626 GB, free: 1.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.465, allocations: 8 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4651, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4651, allocations: 0 / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.4652, allocations: 15.98 kB / 0.5626 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.4652, allocations: 4 kB / 0.5626 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.4652, allocations: 11.88 kB / 0.5627 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4652, allocations: 4 kB / 0.5627 GB, free: 1.812 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.0001304/0.4654, allocations: 125.9 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.4654, allocations: 15.91 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4656, allocations: 115.2 kB / 0.5629 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4656, allocations: 4.375 kB / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4657, allocations: 0 / 0.5629 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4657, allocations: 3.938 kB / 0.5629 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.4662, allocations: 370.4 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4662, allocations: 4.031 kB / 0.5633 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.4662, allocations: 11.94 kB / 0.5633 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4662, allocations: 3.938 kB / 0.5633 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4662, allocations: 8 kB / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.4662, allocations: 0 / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4662, allocations: 0 / 0.5633 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.4665, allocations: 196.3 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.4665, allocations: 15.94 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.4665, allocations: 11.94 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.761e-05/0.4666, allocations: 0 / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4666, allocations: 7.984 kB / 0.5635 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.4666, allocations: 4 kB / 0.5635 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.4668, allocations: 160.2 kB / 0.5637 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4668, allocations: 3.938 kB / 0.5637 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4671, allocations: 23.94 kB / 0.5637 GB, free: 0.6562 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.002269/0.4693, allocations: 1.092 MB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4695, allocations: 55.91 kB / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4695, allocations: 0 / 0.5648 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.897e-05/0.4696, allocations: 31.92 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.47, allocations: 37.02 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.472, allocations: 1.697 MB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.4724, allocations: 0.7002 MB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.4724, allocations: 20.58 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.4725, allocations: 39.42 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4725, allocations: 4 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.5031, allocations: 3.69 MB / 0.5709 GB, free: 9.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.43, allocations: 11.92 kB / 0.5709 GB, free: 9.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.760422337996715]