Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001287/0.001287, allocations: 113.1 kB / 20.43 MB, free: 1.457 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: 215.7 kB / 23.75 MB, free: 4.668 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.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2405/0.2405, allocations: 44.92 MB / 358.8 MB, free: 6.281 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.002916/0.002916, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4154, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003726/0.4191, allocations: 1.962 MB / 0.559 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.421, allocations: 1.088 MB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.4212, allocations: 7.938 kB / 0.5601 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.4215, allocations: 43.7 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.4219, allocations: 95.53 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.4222, allocations: 99.66 kB / 0.5603 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.4224, allocations: 151.5 kB / 0.5604 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4226, allocations: 19.56 kB / 0.5605 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.4227, allocations: 67.72 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.4228, allocations: 47.7 kB / 0.5606 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.4229, allocations: 8 kB / 0.5606 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.423, allocations: 47.98 kB / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.423, allocations: 31.8 kB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.4231, allocations: 55.66 kB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.4235, allocations: 155.3 kB / 0.5609 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4235, allocations: 0 / 0.5609 GB, free: 3.863 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4235, allocations: 0 / 0.5609 GB, free: 3.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4235, allocations: 0 / 0.5609 GB, free: 3.863 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009389/0.4244, allocations: 419 kB / 0.5613 GB, free: 3.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.4245, allocations: 8.031 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.4246, allocations: 42.73 kB / 0.5613 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.4246, allocations: 16.84 kB / 0.5613 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.4251, allocations: 171 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4251, allocations: 8.375 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.4251, allocations: 7.938 kB / 0.5615 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.4255, allocations: 112.2 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4255, allocations: 0 / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4255, allocations: 4 kB / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4255, allocations: 0 / 0.5616 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.4256, allocations: 51.91 kB / 0.5617 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.4264, allocations: 488.1 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.4267, allocations: 86.59 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.4269, allocations: 32.84 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.4269, allocations: 11.94 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.4271, allocations: 79.36 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.4271, allocations: 0 / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004895/0.4276, allocations: 149.4 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.4277, allocations: 55.34 kB / 0.5625 GB, free: 1.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.4279, allocations: 203.2 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4279, allocations: 25.7 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.428, allocations: 116.1 kB / 0.5628 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.4281, allocations: 31.73 kB / 0.5629 GB, free: 1.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.4281, allocations: 29.7 kB / 0.5629 GB, free: 1.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.4283, allocations: 326.8 kB / 0.5632 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.4284, allocations: 27.98 kB / 0.5632 GB, free: 1.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.4285, allocations: 68.27 kB / 0.5633 GB, free: 1.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.4287, allocations: 96.2 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4287, allocations: 4 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002905/0.429, allocations: 137.8 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.429, allocations: 8.094 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4291, allocations: 3.938 kB / 0.5635 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/0.4291, allocations: 3.938 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.4292, allocations: 27.92 kB / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.4292, allocations: 0 / 0.5636 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.4293, allocations: 28 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.4293, allocations: 4 kB / 0.5636 GB, free: 0.7891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001469/0.4295, allocations: 125.8 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4295, allocations: 15.91 kB / 0.5637 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.4298, allocations: 126.9 kB / 0.5639 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.4298, allocations: 11.92 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4298, allocations: 3.984 kB / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4298, allocations: 0 / 0.5639 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.43, allocations: 180.7 kB / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.43, allocations: 0 / 0.5641 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.4301, allocations: 12 kB / 0.5641 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4301, allocations: 0 / 0.5641 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4301, allocations: 7.984 kB / 0.5641 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4301, allocations: 3.938 kB / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4301, allocations: 0 / 0.5641 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.4305, allocations: 185 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.356e-05/0.4305, allocations: 11.91 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.4305, allocations: 0 / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.4306, allocations: 11.92 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.4306, allocations: 11.98 kB / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.4307, allocations: 0 / 0.5643 GB, free: 16 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001526/0.4308, allocations: 147.3 kB / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4308, allocations: 192 / 0.5644 GB, free: 15.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.431, allocations: 27.94 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002085/0.4331, allocations: 1.032 MB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.4334, allocations: 76.08 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4334, allocations: 0 / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.4335, allocations: 35.92 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.4338, allocations: 42.78 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.436, allocations: 1.754 MB / 0.5673 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.4363, allocations: 0.7162 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.325e-05/0.4364, allocations: 21.41 kB / 0.568 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.4365, allocations: 47.41 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4365, allocations: 0 / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03231/0.4688, allocations: 4.031 MB / 0.572 GB, free: 8.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.46, allocations: 6.812 kB / 0.572 GB, free: 8.156 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.684203256001638]