Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.00194/0.00194, allocations: 127.4 kB / 17.79 MB, free: 5.242 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.002501/0.002501, allocations: 211.6 kB / 20.75 MB, free: 2.293 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.424/1.424, allocations: 230.4 MB / 254 MB, free: 15.02 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.2253/0.2253, allocations: 46.92 MB / 357 MB, free: 10.16 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 84.11 kB / 0.4911 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1265, allocations: 66.04 MB / 0.5556 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003552/0.1301, allocations: 1.735 MB / 0.5572 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.132, allocations: 1.032 MB / 0.5583 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.132, allocations: 7.938 kB / 0.5583 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.1323, allocations: 47.75 kB / 0.5583 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.1326, allocations: 95.55 kB / 0.5584 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.1328, allocations: 79.67 kB / 0.5585 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.133, allocations: 103.6 kB / 0.5586 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1331, allocations: 19.97 kB / 0.5586 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.1332, allocations: 43.8 kB / 0.5586 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.375e-05/0.1333, allocations: 27.84 kB / 0.5587 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1333, allocations: 4 kB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.1334, allocations: 47.97 kB / 0.5587 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1334, allocations: 19.88 kB / 0.5587 GB, free: 2.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.1335, allocations: 39.73 kB / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1337, allocations: 119.4 kB / 0.5589 GB, free: 1.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1337, allocations: 4 kB / 0.5589 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1337, allocations: 0 / 0.5589 GB, free: 1.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1337, allocations: 0 / 0.5589 GB, free: 1.965 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.0005684/0.1343, allocations: 418.7 kB / 0.5593 GB, free: 1.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1343, allocations: 12.03 kB / 0.5593 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.1343, allocations: 30.75 kB / 0.5593 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1344, allocations: 8.891 kB / 0.5593 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1347, allocations: 216.8 kB / 0.5595 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1347, allocations: 8.375 kB / 0.5595 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1347, allocations: 12.3 kB / 0.5596 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1349, allocations: 57.8 kB / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.1349, allocations: 0 / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1349, allocations: 0 / 0.5596 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1349, allocations: 7.938 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.135, allocations: 15.98 kB / 0.5596 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.1354, allocations: 292.8 kB / 0.5599 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1356, allocations: 54.62 kB / 0.56 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.315e-05/0.1356, allocations: 20.84 kB / 0.56 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1356, allocations: 0 / 0.56 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.1358, allocations: 67.39 kB / 0.5601 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1358, allocations: 4 kB / 0.5601 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005547/0.1364, allocations: 177.3 kB / 0.5602 GB, free: 420 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.1364, allocations: 55.41 kB / 0.5603 GB, free: 352 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1366, allocations: 194.4 kB / 0.5605 GB, free: 148 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1366, allocations: 29.7 kB / 0.5605 GB, free: 112 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.1367, allocations: 104.1 kB / 0.5606 GB, free: 4 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.1368, allocations: 27.94 kB / 0.5606 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1368, allocations: 17.72 kB / 0.5606 GB, free: 15.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1369, allocations: 330.8 kB / 0.5609 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.137, allocations: 27.92 kB / 0.561 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.1371, allocations: 37.64 kB / 0.561 GB, free: 15.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1372, allocations: 57.72 kB / 0.5611 GB, free: 15.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1372, allocations: 0 / 0.5611 GB, free: 15.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001931/0.1374, allocations: 109.5 kB / 0.5612 GB, free: 15.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1374, allocations: 8 kB / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1374, allocations: 0 / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1374, allocations: 0 / 0.5612 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.1375, allocations: 15.98 kB / 0.5612 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1375, allocations: 4 kB / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1376, allocations: 4 kB / 0.5612 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1376, allocations: 4 kB / 0.5612 GB, free: 15.34 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.0001156/0.1377, allocations: 129.7 kB / 0.5613 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1377, allocations: 19.92 kB / 0.5613 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1377, allocations: 21.78 kB / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1377, allocations: 0 / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1378, allocations: 0 / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1378, allocations: 0 / 0.5614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.1382, allocations: 399.3 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1382, allocations: 3.938 kB / 0.5618 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.1383, allocations: 8 kB / 0.5618 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1383, allocations: 4.031 kB / 0.5618 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1383, allocations: 4 kB / 0.5618 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1383, allocations: 3.938 kB / 0.5618 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1383, allocations: 0 / 0.5618 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1385, allocations: 208.5 kB / 0.562 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1386, allocations: 89.02 kB / 0.5621 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.1386, allocations: 4 kB / 0.5621 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.1387, allocations: 7.938 kB / 0.5621 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1387, allocations: 11.98 kB / 0.5621 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.1387, allocations: 4 kB / 0.5621 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1389, allocations: 148.2 kB / 0.5622 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1389, allocations: 0 / 0.5622 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1392, allocations: 23.94 kB / 0.5622 GB, free: 14.16 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.002149/0.1413, allocations: 1.086 MB / 0.5633 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1415, allocations: 63.84 kB / 0.5634 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1415, allocations: 0 / 0.5634 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.1416, allocations: 23.98 kB / 0.5634 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1419, allocations: 27.92 kB / 0.5634 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.1439, allocations: 1.676 MB / 0.5651 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.1443, allocations: 0.7041 MB / 0.5657 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.1444, allocations: 17.19 kB / 0.5658 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.1444, allocations: 39.41 kB / 0.5658 GB, free: 10.54 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1444, allocations: 0 / 0.5658 GB, free: 10.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.1691, allocations: 3.47 MB / 0.5692 GB, free: 7.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.276, allocations: 6.906 kB / 0.5692 GB, free: 7.125 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.416665641008876]