Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009377/0.0009377, allocations: 79.92 kB / 20.72 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004909/0.004909, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8849/0.8849, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1334/0.1334, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.013e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002501/0.002531, allocations: 1.813 MB / 301 MB, free: 316 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1447/0.1472, allocations: 0.8676 MB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1473, allocations: 1.031 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.1479, allocations: 311.9 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.1482, allocations: 216.7 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1486, allocations: 137.6 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.149, allocations: 248.6 kB / 302.7 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.265e-05/0.149, allocations: 7.672 kB / 302.7 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1493, allocations: 153 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1496, allocations: 173 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1496, allocations: 6.438 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1497, allocations: 44.92 kB / 303.1 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1498, allocations: 143 kB / 303.2 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.1499, allocations: 72.36 kB / 303.3 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.1503, allocations: 274.2 kB / 303.6 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1503, allocations: 0 / 303.6 MB, free: 19.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1503, allocations: 0.5625 kB / 303.6 MB, free: 19.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1503, allocations: 0 / 303.6 MB, free: 19.01 MB / 282.7 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.000722/0.151, allocations: 0.6263 MB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1511, allocations: 10.44 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.1511, allocations: 27.62 kB / 304.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.1515, allocations: 307.6 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1515, allocations: 2.094 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1515, allocations: 8.422 kB / 304.5 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1516, allocations: 87.53 kB / 304.6 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1517, allocations: 6.562 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1517, allocations: 0.8906 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1517, allocations: 1.312 kB / 304.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.88e-05/0.1517, allocations: 22.33 kB / 304.7 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.1519, allocations: 118.5 kB / 304.8 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.152, allocations: 74.31 kB / 304.8 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.152, allocations: 28.31 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1521, allocations: 2.25 kB / 304.9 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.1522, allocations: 96.77 kB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1522, allocations: 3.562 kB / 305 MB, free: 18.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002029/0.1524, allocations: 108.5 kB / 305.1 MB, free: 17.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1524, allocations: 84.62 kB / 305.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005396/0.153, allocations: 0.5916 MB / 305.8 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.153, allocations: 30.14 kB / 305.8 MB, free: 17.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.153, allocations: 150.5 kB / 305.9 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.1531, allocations: 27.98 kB / 306 MB, free: 17.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1531, allocations: 26.66 kB / 306 MB, free: 17.6 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.1532, allocations: 367.3 kB / 306.3 MB, free: 17.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.1532, allocations: 21.08 kB / 306.4 MB, free: 17.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.1533, allocations: 47.56 kB / 306.4 MB, free: 17.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.782e-05/0.1533, allocations: 64.69 kB / 306.5 MB, free: 17.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1533, allocations: 0 / 306.5 MB, free: 17.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.1535, allocations: 106.8 kB / 306.6 MB, free: 17.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1535, allocations: 6.047 kB / 306.6 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1535, allocations: 3.188 kB / 306.6 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1535, allocations: 1.656 kB / 306.6 MB, free: 17.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.1536, allocations: 30.33 kB / 306.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1536, allocations: 1.75 kB / 306.6 MB, free: 17.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.1537, allocations: 14.75 kB / 306.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1537, allocations: 11.42 kB / 306.6 MB, free: 17.14 MB / 282.7 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 8.368e-05/0.1538, allocations: 128.1 kB / 306.8 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1538, allocations: 32.89 kB / 306.8 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.154, allocations: 116.9 kB / 306.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.154, allocations: 1.469 kB / 306.9 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.154, allocations: 5.094 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.154, allocations: 2.625 kB / 306.9 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1542, allocations: 156.7 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1542, allocations: 3.672 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1542, allocations: 13.2 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1542, allocations: 1.344 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.1542, allocations: 6.5 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.1543, allocations: 1.156 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1543, allocations: 5.125 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.1544, allocations: 133.5 kB / 307.2 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.1544, allocations: 53.22 kB / 307.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.1545, allocations: 3.125 kB / 307.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.545e-05/0.1545, allocations: 8.281 kB / 307.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.1546, allocations: 9.578 kB / 307.3 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1546, allocations: 14.98 kB / 307.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003174/0.1549, allocations: 311 kB / 307.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1549, allocations: 0 / 307.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.1551, allocations: 46.83 kB / 307.7 MB, free: 16.68 MB / 282.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001098/0.1562, allocations: 0.5058 MB / 308.2 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1563, allocations: 58.92 kB / 308.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.1564, allocations: 5.094 kB / 308.2 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.182e-05/0.1564, allocations: 40 kB / 308.3 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.1567, allocations: 78.62 kB / 308.4 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000786/0.1575, allocations: 0.6453 MB / 309 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.1576, allocations: 132 kB / 309.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.1576, allocations: 42.27 kB / 309.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1578, allocations: 96.72 kB / 309.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1578, allocations: 5 kB / 309.3 MB, free: 15.8 MB / 282.7 MB Notification: Performance of Templates: time 0.008201/0.166, allocations: 4.261 MB / 313.5 MB, free: 14.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.988932542037219]