Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001765/0.001765, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002129/0.002129, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.528/1.528, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2188/0.2188, allocations: 46.91 MB / 357.4 MB, free: 10.49 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 78.53 kB / 0.4913 GB, free: 26.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 65.98 MB / 0.5557 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003607/0.1408, allocations: 1.842 MB / 0.5575 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1427, allocations: 1.104 MB / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.1428, allocations: 0 / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.1434, allocations: 315.3 kB / 0.5589 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.1439, allocations: 255.2 kB / 0.5592 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1441, allocations: 103.6 kB / 0.5593 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1444, allocations: 267.2 kB / 0.5595 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.1445, allocations: 5.688 kB / 0.5595 GB, free: 5.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1447, allocations: 139.6 kB / 0.5597 GB, free: 5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.145, allocations: 223.4 kB / 0.5599 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.145, allocations: 8 kB / 0.5599 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1451, allocations: 39.98 kB / 0.5599 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.1452, allocations: 135.6 kB / 0.56 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.1454, allocations: 150.8 kB / 0.5602 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.1459, allocations: 390.4 kB / 0.5606 GB, free: 4.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1459, allocations: 0 / 0.5606 GB, free: 4.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1459, allocations: 0 / 0.5606 GB, free: 4.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1459, allocations: 0 / 0.5606 GB, free: 4.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001055/0.1469, allocations: 0.7655 MB / 0.5613 GB, free: 3.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.147, allocations: 12.03 kB / 0.5613 GB, free: 3.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.147, allocations: 34.75 kB / 0.5614 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.1471, allocations: 48.61 kB / 0.5614 GB, free: 3.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.1478, allocations: 460.3 kB / 0.5618 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1478, allocations: 384 / 0.5618 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1478, allocations: 4.375 kB / 0.5618 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.148, allocations: 99.45 kB / 0.5619 GB, free: 2.551 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.148, allocations: 3.938 kB / 0.5619 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.148, allocations: 0 / 0.5619 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.148, allocations: 4 kB / 0.5619 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1482, allocations: 35.91 kB / 0.562 GB, free: 2.508 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1486, allocations: 382.3 kB / 0.5623 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.1488, allocations: 105.2 kB / 0.5624 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.61e-05/0.1489, allocations: 41.62 kB / 0.5625 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1489, allocations: 7.938 kB / 0.5625 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.1492, allocations: 109 kB / 0.5626 GB, free: 1.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1492, allocations: 0 / 0.5626 GB, free: 1.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005015/0.1497, allocations: 197.2 kB / 0.5628 GB, free: 1.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1497, allocations: 81.09 kB / 0.5629 GB, free: 1.484 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.1509, allocations: 1.05 MB / 0.5639 GB, free: 432 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.1509, allocations: 33.64 kB / 0.5639 GB, free: 392 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1511, allocations: 240.1 kB / 0.5642 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1511, allocations: 35.73 kB / 0.5642 GB, free: 112 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1512, allocations: 21.72 kB / 0.5642 GB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1514, allocations: 374.8 kB / 0.5646 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.1515, allocations: 28.48 kB / 0.5646 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1516, allocations: 57.8 kB / 0.5646 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.1518, allocations: 95.34 kB / 0.5647 GB, free: 15.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1518, allocations: 0 / 0.5647 GB, free: 15.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003118/0.1521, allocations: 173.2 kB / 0.5649 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1521, allocations: 4 kB / 0.5649 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1521, allocations: 8.062 kB / 0.5649 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1521, allocations: 0 / 0.5649 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1523, allocations: 23.92 kB / 0.5649 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1523, allocations: 4 kB / 0.5649 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.582e-05/0.1524, allocations: 11.98 kB / 0.565 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1524, allocations: 4 kB / 0.565 GB, free: 15.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000228/0.1526, allocations: 213.8 kB / 0.5652 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.128e-05/0.1527, allocations: 67.55 kB / 0.5652 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.1528, allocations: 56.14 kB / 0.5653 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1528, allocations: 8 kB / 0.5653 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1528, allocations: 0 / 0.5653 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1528, allocations: 0 / 0.5653 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.1531, allocations: 353.3 kB / 0.5656 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1531, allocations: 3.938 kB / 0.5656 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.1532, allocations: 7.938 kB / 0.5656 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1532, allocations: 4 kB / 0.5656 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1532, allocations: 12.11 kB / 0.5656 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1532, allocations: 0 / 0.5656 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1532, allocations: 4 kB / 0.5657 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.1535, allocations: 205.5 kB / 0.5658 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.1537, allocations: 144.7 kB / 0.566 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.1538, allocations: 0 / 0.566 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.1538, allocations: 11.98 kB / 0.566 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1539, allocations: 7.984 kB / 0.566 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.1539, allocations: 4 kB / 0.566 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008462/0.1547, allocations: 0.7917 MB / 0.5668 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 0 / 0.5668 GB, free: 13.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.155, allocations: 40 kB / 0.5668 GB, free: 13.27 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002063/0.1571, allocations: 1.051 MB / 0.5678 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.1573, allocations: 79.84 kB / 0.5679 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1573, allocations: 3.938 kB / 0.5679 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1574, allocations: 39.95 kB / 0.568 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1579, allocations: 62.22 kB / 0.568 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.1638, allocations: 4.574 MB / 0.5725 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.1644, allocations: 0.8466 MB / 0.5733 GB, free: 6.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.1646, allocations: 58.94 kB / 0.5734 GB, free: 6.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.1648, allocations: 155.4 kB / 0.5735 GB, free: 6.398 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1648, allocations: 0 / 0.5735 GB, free: 6.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.1973, allocations: 9.137 MB / 0.5824 GB, free: 13.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/8.851, allocations: 7.938 kB / 0.5825 GB, free: 13.3 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.089878650847822]