Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001232/0.001232, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001349/0.001349, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2504/0.2504, allocations: 44.91 MB / 355.1 MB, free: 12.34 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001978/0.001978, allocations: 72.12 kB / 499.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1498, allocations: 65.43 MB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003571/0.1534, allocations: 1.725 MB / 0.5535 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1554, allocations: 1.038 MB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.1555, allocations: 4 kB / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1558, allocations: 43.77 kB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.1561, allocations: 95.53 kB / 0.5547 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.1563, allocations: 67.75 kB / 0.5547 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1565, allocations: 111.7 kB / 0.5548 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1566, allocations: 16.2 kB / 0.5549 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.1567, allocations: 39.8 kB / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.1568, allocations: 39.83 kB / 0.5549 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1568, allocations: 4 kB / 0.5549 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.157, allocations: 47.92 kB / 0.555 GB, free: 6.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.157, allocations: 15.94 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1571, allocations: 39.72 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1573, allocations: 111.5 kB / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1573, allocations: 0 / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1573, allocations: 0 / 0.5551 GB, free: 6.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1573, allocations: 0 / 0.5551 GB, free: 6.656 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.0006278/0.1579, allocations: 414.7 kB / 0.5555 GB, free: 6.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.158, allocations: 12.03 kB / 0.5556 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.158, allocations: 34.69 kB / 0.5556 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1581, allocations: 12.89 kB / 0.5556 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1584, allocations: 208.2 kB / 0.5558 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1584, allocations: 384 / 0.5558 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1584, allocations: 7.938 kB / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1586, allocations: 53.67 kB / 0.5559 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1586, allocations: 0 / 0.5559 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1586, allocations: 0 / 0.5559 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1586, allocations: 3.938 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1587, allocations: 27.92 kB / 0.5559 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1591, allocations: 292.8 kB / 0.5562 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1593, allocations: 58.61 kB / 0.5562 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.198e-05/0.1593, allocations: 12.86 kB / 0.5562 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.1593, allocations: 4 kB / 0.5562 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1595, allocations: 79.31 kB / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1595, allocations: 0 / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005665/0.1601, allocations: 169.3 kB / 0.5565 GB, free: 5.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1601, allocations: 55.41 kB / 0.5565 GB, free: 5.047 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.1603, allocations: 172.4 kB / 0.5567 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1603, allocations: 33.7 kB / 0.5567 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.1604, allocations: 96.14 kB / 0.5568 GB, free: 4.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1604, allocations: 27.84 kB / 0.5568 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1605, allocations: 17.72 kB / 0.5569 GB, free: 4.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1607, allocations: 322.8 kB / 0.5572 GB, free: 4.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.248e-05/0.1607, allocations: 23.98 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1608, allocations: 33.7 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1609, allocations: 61.64 kB / 0.5573 GB, free: 4.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1609, allocations: 4 kB / 0.5573 GB, free: 4.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.1611, allocations: 101.6 kB / 0.5574 GB, free: 4.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1611, allocations: 6.188 kB / 0.5574 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1611, allocations: 4 kB / 0.5574 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1612, allocations: 0 / 0.5574 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.1613, allocations: 19.92 kB / 0.5574 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1613, allocations: 0 / 0.5574 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.1613, allocations: 7.938 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1613, allocations: 8 kB / 0.5574 GB, free: 4.074 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.0001196/0.1614, allocations: 122.7 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1615, allocations: 11.95 kB / 0.5576 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1615, allocations: 12.72 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1615, allocations: 0 / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1615, allocations: 0 / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1615, allocations: 7.922 kB / 0.5576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005418/0.1621, allocations: 395.2 kB / 0.558 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1621, allocations: 8.031 kB / 0.558 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.1621, allocations: 8.188 kB / 0.558 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1621, allocations: 3.938 kB / 0.558 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1621, allocations: 11.81 kB / 0.558 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1621, allocations: 384 / 0.558 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1621, allocations: 4 kB / 0.558 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1624, allocations: 204.3 kB / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.1624, allocations: 89.02 kB / 0.5583 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1624, allocations: 11.94 kB / 0.5583 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1625, allocations: 4 kB / 0.5583 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.1625, allocations: 7.984 kB / 0.5583 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1626, allocations: 4 kB / 0.5583 GB, free: 3.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1627, allocations: 131.2 kB / 0.5584 GB, free: 2.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1627, allocations: 0 / 0.5584 GB, free: 2.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.163, allocations: 23.98 kB / 0.5584 GB, free: 2.93 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.002159/0.1651, allocations: 1.097 MB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1653, allocations: 59.84 kB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1653, allocations: 0 / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.1654, allocations: 27.94 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1657, allocations: 31.7 kB / 0.5596 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.1677, allocations: 1.601 MB / 0.5612 GB, free: 184 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.168, allocations: 0.704 MB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.893e-05/0.1681, allocations: 13.19 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.1682, allocations: 31.42 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1682, allocations: 4 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.1946, allocations: 3.36 MB / 0.5652 GB, free: 12.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.083, allocations: 8.016 kB / 0.5652 GB, free: 12.09 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.415126147679985]