Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.001351/0.001351, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.001448/0.001448, allocations: 215.5 kB / 20.75 MB, free: 2.402 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.499/1.499, allocations: 230.4 MB / 254 MB, free: 15.07 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.2356/0.2356, allocations: 46.92 MB / 357 MB, free: 10.21 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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 79.88 kB / 0.4911 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1343, allocations: 66.04 MB / 0.5555 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00349/0.1378, allocations: 1.74 MB / 0.5572 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1406, allocations: 1.644 MB / 0.5589 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.1407, allocations: 0 / 0.5589 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.141, allocations: 35.77 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.1414, allocations: 103.5 kB / 0.559 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.1416, allocations: 75.69 kB / 0.5591 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.1418, allocations: 111.7 kB / 0.5592 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1419, allocations: 15.98 kB / 0.5592 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.142, allocations: 47.73 kB / 0.5592 GB, free: 1.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1422, allocations: 39.83 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.1422, allocations: 8 kB / 0.5593 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1424, allocations: 103.9 kB / 0.5594 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.1425, allocations: 27.84 kB / 0.5594 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.1425, allocations: 39.73 kB / 0.5594 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1428, allocations: 171.4 kB / 0.5596 GB, free: 1.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1428, allocations: 4 kB / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1428, allocations: 0 / 0.5596 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.1428, allocations: 0 / 0.5596 GB, free: 1.32 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.0006547/0.1435, allocations: 426.6 kB / 0.56 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1435, allocations: 11.97 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.1436, allocations: 34.73 kB / 0.5601 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.1436, allocations: 12.84 kB / 0.5601 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003752/0.144, allocations: 212.7 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.144, allocations: 12.38 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1441, allocations: 3.938 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.1443, allocations: 67.39 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1443, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1443, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1443, allocations: 0 / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.1444, allocations: 27.86 kB / 0.5604 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.1448, allocations: 292.9 kB / 0.5607 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.145, allocations: 50.69 kB / 0.5607 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.1451, allocations: 20.84 kB / 0.5607 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1451, allocations: 3.938 kB / 0.5607 GB, free: 0 / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.1453, allocations: 71.39 kB / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1453, allocations: 0 / 0.5608 GB, free: 15.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.1459, allocations: 173.3 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.146, allocations: 85.11 kB / 0.561 GB, free: 15.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1461, allocations: 163 kB / 0.5612 GB, free: 15.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1462, allocations: 25.7 kB / 0.5612 GB, free: 15.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.1462, allocations: 100.1 kB / 0.5613 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.1463, allocations: 27.75 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.1463, allocations: 29.7 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1465, allocations: 322.8 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.1466, allocations: 20 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1466, allocations: 38.56 kB / 0.5617 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1468, allocations: 73.69 kB / 0.5618 GB, free: 14.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1468, allocations: 384 / 0.5618 GB, free: 14.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.147, allocations: 101.6 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.147, allocations: 6.031 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.147, allocations: 4 kB / 0.5619 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.147, allocations: 4 kB / 0.5619 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.26e-05/0.1471, allocations: 15.94 kB / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1471, allocations: 0 / 0.5619 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.1472, allocations: 19.91 kB / 0.562 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1472, allocations: 4 kB / 0.562 GB, free: 14.65 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.0001392/0.1473, allocations: 117.9 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1473, allocations: 11.95 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.1474, allocations: 12.7 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1474, allocations: 4 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1474, allocations: 0 / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1474, allocations: 7.875 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1479, allocations: 395.3 kB / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1479, allocations: 0 / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.1479, allocations: 15.97 kB / 0.5625 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.148, allocations: 8.125 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.148, allocations: 0 / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.148, allocations: 7.922 kB / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.148, allocations: 0 / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1482, allocations: 196.3 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1483, allocations: 85.06 kB / 0.5628 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1483, allocations: 11.94 kB / 0.5628 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.1484, allocations: 7.984 kB / 0.5628 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.1484, allocations: 7.938 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1485, allocations: 4 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1486, allocations: 127.3 kB / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1486, allocations: 0 / 0.5629 GB, free: 13.54 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003086/0.1489, allocations: 47.86 kB / 0.563 GB, free: 13.5 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.002562/0.1514, allocations: 1.184 MB / 0.5641 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.1517, allocations: 59.91 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1517, allocations: 0 / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.567e-05/0.1518, allocations: 27.92 kB / 0.5642 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1521, allocations: 23.98 kB / 0.5642 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.1542, allocations: 1.597 MB / 0.5658 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.1545, allocations: 0.6924 MB / 0.5665 GB, free: 9.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.1546, allocations: 20.86 kB / 0.5665 GB, free: 9.934 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.346e-05/0.1547, allocations: 43.59 kB / 0.5665 GB, free: 9.891 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1547, allocations: 3.938 kB / 0.5665 GB, free: 9.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/0.187, allocations: 4.039 MB / 0.5705 GB, free: 5.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.114, allocations: 10.81 kB / 0.5705 GB, free: 5.863 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.381967712077312]