Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001471/0.001471, allocations: 123.4 kB / 17.79 MB, free: 5.277 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.001488/0.001488, allocations: 208.3 kB / 20.74 MB, free: 2.332 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2548/0.2548, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.002067/0.002067, allocations: 72.08 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1496, allocations: 65.41 MB / 0.5518 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003345/0.153, allocations: 1.741 MB / 0.5535 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1548, allocations: 1.031 MB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.1549, allocations: 4 kB / 0.5545 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.1552, allocations: 43.7 kB / 0.5546 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1555, allocations: 95.53 kB / 0.5547 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1557, allocations: 79.73 kB / 0.5547 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1559, allocations: 107.7 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.156, allocations: 12.28 kB / 0.5549 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.1561, allocations: 47.72 kB / 0.5549 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.1562, allocations: 31.84 kB / 0.5549 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1562, allocations: 4 kB / 0.5549 GB, free: 6.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1563, allocations: 47.92 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.1563, allocations: 15.92 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.1564, allocations: 43.72 kB / 0.555 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1566, allocations: 115.5 kB / 0.5552 GB, free: 6.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1566, allocations: 4 kB / 0.5552 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1566, allocations: 3.938 kB / 0.5552 GB, free: 6.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1566, allocations: 0 / 0.5552 GB, free: 6.621 MB / 414.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.0006777/0.1573, allocations: 426.6 kB / 0.5556 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1573, allocations: 8.031 kB / 0.5556 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1574, allocations: 34.69 kB / 0.5556 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1574, allocations: 12.89 kB / 0.5556 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1577, allocations: 215.2 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.1577, allocations: 384 / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1578, allocations: 11.94 kB / 0.5558 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1579, allocations: 53.67 kB / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1579, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1579, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1579, allocations: 0 / 0.5559 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.366e-05/0.158, allocations: 27.92 kB / 0.5559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.1584, allocations: 292.8 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1586, allocations: 54.69 kB / 0.5562 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.397e-05/0.1586, allocations: 20.84 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1587, allocations: 0 / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.1588, allocations: 67.33 kB / 0.5563 GB, free: 5.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1588, allocations: 4 kB / 0.5563 GB, free: 5.246 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005771/0.1594, allocations: 185.3 kB / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.1594, allocations: 55.34 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1596, allocations: 198.3 kB / 0.5568 GB, free: 4.789 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1597, allocations: 29.7 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1597, allocations: 100.1 kB / 0.5569 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.1598, allocations: 19.86 kB / 0.5569 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1598, allocations: 25.7 kB / 0.5569 GB, free: 4.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.16, allocations: 326.8 kB / 0.5572 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.627e-05/0.16, allocations: 16 kB / 0.5572 GB, free: 4.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.1601, allocations: 38.08 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1602, allocations: 65.62 kB / 0.5573 GB, free: 4.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1602, allocations: 0 / 0.5573 GB, free: 4.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1604, allocations: 101.6 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1604, allocations: 12.02 kB / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1604, allocations: 0 / 0.5575 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1604, allocations: 4 kB / 0.5575 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.1605, allocations: 15.94 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1605, allocations: 0 / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.1606, allocations: 15.92 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1606, allocations: 0 / 0.5575 GB, free: 3.992 MB / 414.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.0001224/0.1607, allocations: 124 kB / 0.5576 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1607, allocations: 11.91 kB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.1608, allocations: 25.39 kB / 0.5576 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1608, allocations: 4 kB / 0.5576 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1608, allocations: 0 / 0.5576 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1608, allocations: 3.938 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.1613, allocations: 395.3 kB / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1613, allocations: 0 / 0.558 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1613, allocations: 11.98 kB / 0.558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1613, allocations: 7.875 kB / 0.558 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1614, allocations: 4.172 kB / 0.5581 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1614, allocations: 8.031 kB / 0.5581 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1614, allocations: 3.938 kB / 0.5581 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1616, allocations: 196.6 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1617, allocations: 96.94 kB / 0.5583 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1617, allocations: 3.938 kB / 0.5583 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1618, allocations: 4 kB / 0.5584 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.1618, allocations: 12 kB / 0.5584 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1618, allocations: 3.984 kB / 0.5584 GB, free: 2.984 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1619, allocations: 144.2 kB / 0.5585 GB, free: 2.844 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 4 kB / 0.5585 GB, free: 2.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1622, allocations: 23.98 kB / 0.5585 GB, free: 2.816 MB / 414.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.002136/0.1643, allocations: 1.101 MB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1645, allocations: 55.91 kB / 0.5597 GB, free: 1.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1645, allocations: 4.062 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.773e-05/0.1646, allocations: 31.92 kB / 0.5597 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.165, allocations: 27.36 kB / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1669, allocations: 1.665 MB / 0.5613 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.1672, allocations: 0.7041 MB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.067e-05/0.1673, allocations: 21.17 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.021e-05/0.1674, allocations: 39.36 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1674, allocations: 0 / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.1937, allocations: 3.474 MB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.022, allocations: 0 / 0.5655 GB, free: 11.8 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_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_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.302278634626418]