Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 206.6 kB / 20.75 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.4 MB / 254 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2362/0.2362, allocations: 46.93 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 83.86 kB / 0.4911 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1413, allocations: 66.05 MB / 0.5556 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003254/0.1446, allocations: 1.72 MB / 0.5572 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1464, allocations: 1.039 MB / 0.5583 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1464, allocations: 0 / 0.5583 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003572/0.1468, allocations: 91.69 kB / 0.5583 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.1471, allocations: 115.5 kB / 0.5584 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.1473, allocations: 71.75 kB / 0.5585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1475, allocations: 123.6 kB / 0.5586 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.726e-05/0.1476, allocations: 12 kB / 0.5586 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1477, allocations: 55.77 kB / 0.5587 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1478, allocations: 55.81 kB / 0.5588 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1479, allocations: 8 kB / 0.5588 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.148, allocations: 51.91 kB / 0.5588 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.148, allocations: 27.86 kB / 0.5588 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.1481, allocations: 35.73 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1483, allocations: 123.4 kB / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1484, allocations: 4 kB / 0.559 GB, free: 1.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1484, allocations: 0 / 0.559 GB, free: 1.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1484, allocations: 0 / 0.559 GB, free: 1.93 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.0006065/0.149, allocations: 426.6 kB / 0.5594 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.149, allocations: 8.031 kB / 0.5594 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.32e-05/0.1491, allocations: 46.61 kB / 0.5595 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.1491, allocations: 16.84 kB / 0.5595 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1494, allocations: 220.1 kB / 0.5597 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1495, allocations: 4.375 kB / 0.5597 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1495, allocations: 4.359 kB / 0.5597 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1496, allocations: 57.8 kB / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1496, allocations: 0 / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1497, allocations: 0 / 0.5597 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1497, allocations: 4 kB / 0.5597 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.1497, allocations: 19.98 kB / 0.5598 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.1502, allocations: 296.8 kB / 0.56 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1504, allocations: 54.67 kB / 0.5601 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1504, allocations: 16.84 kB / 0.5601 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1504, allocations: 11.94 kB / 0.5601 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1506, allocations: 67.33 kB / 0.5602 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1506, allocations: 0 / 0.5602 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000606/0.1512, allocations: 185.3 kB / 0.5604 GB, free: 348 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.1513, allocations: 55.41 kB / 0.5604 GB, free: 280 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.1515, allocations: 216 kB / 0.5606 GB, free: 48 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1515, allocations: 37.69 kB / 0.5607 GB, free: 4 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1516, allocations: 104.1 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1517, allocations: 27.78 kB / 0.5608 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.1517, allocations: 21.72 kB / 0.5608 GB, free: 15.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1519, allocations: 334.8 kB / 0.5611 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.152, allocations: 16 kB / 0.5611 GB, free: 15.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1521, allocations: 33.7 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1522, allocations: 66.02 kB / 0.5612 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1522, allocations: 0 / 0.5612 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.1524, allocations: 101.7 kB / 0.5613 GB, free: 15.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1524, allocations: 4 kB / 0.5613 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1524, allocations: 8.078 kB / 0.5613 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1524, allocations: 0 / 0.5613 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1526, allocations: 23.92 kB / 0.5614 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1526, allocations: 3.984 kB / 0.5614 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.1526, allocations: 4.031 kB / 0.5614 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1526, allocations: 8 kB / 0.5614 GB, free: 15.23 MB / 430.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.0001399/0.1528, allocations: 134 kB / 0.5615 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1528, allocations: 11.91 kB / 0.5615 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.181e-05/0.1528, allocations: 25.33 kB / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1529, allocations: 0 / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1529, allocations: 0 / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1529, allocations: 0 / 0.5615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.1534, allocations: 399.3 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1534, allocations: 0 / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.1535, allocations: 8 kB / 0.5619 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1535, allocations: 4 kB / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1535, allocations: 4 kB / 0.5619 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1535, allocations: 7.875 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1535, allocations: 3.938 kB / 0.562 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.1538, allocations: 208.3 kB / 0.5622 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.34e-05/0.1538, allocations: 93.05 kB / 0.5622 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1539, allocations: 0 / 0.5622 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.1539, allocations: 3.938 kB / 0.5622 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.154, allocations: 7.984 kB / 0.5623 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.154, allocations: 4 kB / 0.5623 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1542, allocations: 165.2 kB / 0.5624 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1542, allocations: 0 / 0.5624 GB, free: 14.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1544, allocations: 27.92 kB / 0.5624 GB, free: 14.03 MB / 430.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.002345/0.1568, allocations: 1.094 MB / 0.5635 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.157, allocations: 63.83 kB / 0.5636 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.157, allocations: 0 / 0.5636 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.1571, allocations: 28.03 kB / 0.5636 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1574, allocations: 39.86 kB / 0.5636 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.1596, allocations: 1.718 MB / 0.5653 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.16, allocations: 0.7119 MB / 0.566 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.1601, allocations: 12.89 kB / 0.566 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.1601, allocations: 39.41 kB / 0.5661 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1601, allocations: 0 / 0.5661 GB, free: 10.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.1851, allocations: 3.572 MB / 0.5695 GB, free: 6.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.129, allocations: 15.03 kB / 0.5696 GB, free: 6.812 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.31728794600349]