Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001664/0.001664, allocations: 128.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.002077/0.002077, allocations: 210.5 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.427/1.427, allocations: 230.4 MB / 254 MB, free: 15.04 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.2242/0.2242, allocations: 46.92 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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 87.86 kB / 0.4911 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 66.05 MB / 0.5556 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003171/0.1283, allocations: 1.725 MB / 0.5572 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1309, allocations: 1.64 MB / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.1309, allocations: 0 / 0.5588 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1312, allocations: 39.77 kB / 0.5589 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.1316, allocations: 107.5 kB / 0.559 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1317, allocations: 75.72 kB / 0.5591 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1319, allocations: 111.6 kB / 0.5592 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.132, allocations: 8 kB / 0.5592 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1321, allocations: 55.77 kB / 0.5592 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1323, allocations: 47.77 kB / 0.5593 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1323, allocations: 4 kB / 0.5593 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.1325, allocations: 107.9 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.1325, allocations: 11.94 kB / 0.5594 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1326, allocations: 43.67 kB / 0.5594 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1329, allocations: 175.4 kB / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.1329, allocations: 0 / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1329, allocations: 0 / 0.5596 GB, free: 1.312 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1329, allocations: 0 / 0.5596 GB, free: 1.312 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.0006367/0.1335, allocations: 430.6 kB / 0.56 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1336, allocations: 8.031 kB / 0.56 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1336, allocations: 34.75 kB / 0.5601 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.1336, allocations: 12.84 kB / 0.5601 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.134, allocations: 216.7 kB / 0.5603 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.134, allocations: 4.375 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.134, allocations: 11.94 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1342, allocations: 63.39 kB / 0.5603 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1342, allocations: 0 / 0.5603 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1342, allocations: 7.984 kB / 0.5604 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1342, allocations: 7.984 kB / 0.5604 GB, free: 436 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.1343, allocations: 15.98 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1346, allocations: 292.8 kB / 0.5607 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1348, allocations: 54.67 kB / 0.5607 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.1349, allocations: 16.86 kB / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1349, allocations: 0 / 0.5607 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.1351, allocations: 83.31 kB / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1351, allocations: 0 / 0.5608 GB, free: 15.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.1356, allocations: 173.4 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.1356, allocations: 81.05 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1358, allocations: 167 kB / 0.5612 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1359, allocations: 29.7 kB / 0.5612 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.1359, allocations: 100.1 kB / 0.5613 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.136, allocations: 31.73 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.136, allocations: 25.72 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1361, allocations: 318.8 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.065e-05/0.1362, allocations: 23.98 kB / 0.5617 GB, free: 14.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.1363, allocations: 46.5 kB / 0.5618 GB, free: 14.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1364, allocations: 57.66 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1364, allocations: 4.031 kB / 0.5618 GB, free: 14.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001922/0.1366, allocations: 93.62 kB / 0.5619 GB, free: 14.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1366, allocations: 8 kB / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1366, allocations: 0 / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1366, allocations: 0 / 0.5619 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.1367, allocations: 27.86 kB / 0.5619 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1367, allocations: 0 / 0.5619 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.1368, allocations: 3.938 kB / 0.5619 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1368, allocations: 8 kB / 0.5619 GB, free: 14.64 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.000115/0.1369, allocations: 123.7 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1369, allocations: 7.953 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.137, allocations: 16.7 kB / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.137, allocations: 0 / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.137, allocations: 0 / 0.5621 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.137, allocations: 3.938 kB / 0.5621 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1375, allocations: 399.3 kB / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1375, allocations: 384 / 0.5625 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1375, allocations: 16.02 kB / 0.5625 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.1375, allocations: 7.938 kB / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1375, allocations: 4 kB / 0.5625 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.1375, allocations: 4 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1375, allocations: 3.938 kB / 0.5625 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1378, allocations: 196.3 kB / 0.5627 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1379, allocations: 89.06 kB / 0.5628 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1379, allocations: 11.92 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.138, allocations: 4 kB / 0.5628 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.138, allocations: 4 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.138, allocations: 7.984 kB / 0.5628 GB, free: 13.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1381, allocations: 131.3 kB / 0.5629 GB, free: 13.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.5629 GB, free: 13.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1384, allocations: 43.86 kB / 0.563 GB, free: 13.48 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.002481/0.1409, allocations: 1.186 MB / 0.5641 GB, free: 12.46 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.1411, allocations: 59.91 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1411, allocations: 0 / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.1412, allocations: 23.98 kB / 0.5642 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1415, allocations: 35.38 kB / 0.5642 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1434, allocations: 1.588 MB / 0.5658 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1438, allocations: 0.7002 MB / 0.5665 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.1439, allocations: 20.8 kB / 0.5665 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1439, allocations: 35.42 kB / 0.5665 GB, free: 9.879 MB / 430.1 MB Notification: Performance of SimCode: time 4e-07/0.1439, allocations: 0 / 0.5665 GB, free: 9.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.1724, allocations: 4.037 MB / 0.5705 GB, free: 5.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.314, allocations: 3.938 kB / 0.5705 GB, free: 5.859 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_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_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.433496628073044]