Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001556/0.001556, 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.00152/0.00152, allocations: 169 kB / 24.14 MB, free: 364 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.9084/0.9084, allocations: 158.6 MB / 186 MB, free: 2.773 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.1366/0.1366, allocations: 32.38 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.503e-05, allocations: 2.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002654/0.002679, allocations: 1.813 MB / 300.9 MB, free: 320 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1419/0.1446, allocations: 1.596 MB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1447, allocations: 3.375 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1451, allocations: 55.27 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.1454, allocations: 95.67 kB / 302.7 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1458, allocations: 146.1 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000259/0.146, allocations: 186.4 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.1461, allocations: 12.97 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1462, allocations: 93.25 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1464, allocations: 56.55 kB / 303.2 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.1465, allocations: 12.58 kB / 303.2 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1466, allocations: 61.08 kB / 303.3 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1467, allocations: 37.69 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.1467, allocations: 28.11 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.147, allocations: 151.2 kB / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.147, allocations: 0.75 kB / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.147, allocations: 0 / 303.5 MB, free: 19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.147, allocations: 0.9688 kB / 303.5 MB, free: 19 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.0004822/0.1475, allocations: 373.9 kB / 303.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1476, allocations: 9.875 kB / 303.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.1476, allocations: 17.12 kB / 303.9 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1478, allocations: 169.3 kB / 304 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1478, allocations: 7.469 kB / 304 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1479, allocations: 5.438 kB / 304 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.148, allocations: 153 kB / 304.2 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.148, allocations: 7.875 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.148, allocations: 3.5 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1481, allocations: 1.062 kB / 304.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.335e-05/0.1481, allocations: 18.73 kB / 304.2 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.1482, allocations: 86.56 kB / 304.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1483, allocations: 78.55 kB / 304.4 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1484, allocations: 28.97 kB / 304.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1484, allocations: 1.906 kB / 304.4 MB, free: 18.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.1485, allocations: 99.64 kB / 304.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.1485, allocations: 1.156 kB / 304.5 MB, free: 18.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001909/0.1487, allocations: 91.45 kB / 304.6 MB, free: 18.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1487, allocations: 139.1 kB / 304.7 MB, free: 17.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.1489, allocations: 202.9 kB / 304.9 MB, free: 17.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1489, allocations: 30.39 kB / 305 MB, free: 17.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.149, allocations: 99.34 kB / 305.1 MB, free: 17.63 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.149, allocations: 39.81 kB / 305.1 MB, free: 17.6 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.149, allocations: 28.23 kB / 305.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.1491, allocations: 329 kB / 305.4 MB, free: 17.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.1491, allocations: 13.02 kB / 305.5 MB, free: 17.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.695e-05/0.1492, allocations: 105.8 kB / 305.6 MB, free: 17.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.477e-05/0.1493, allocations: 75.73 kB / 305.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1493, allocations: 0 / 305.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000132/0.1494, allocations: 88.92 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1494, allocations: 10.03 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1494, allocations: 4.844 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1494, allocations: 2.047 kB / 305.7 MB, free: 17.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.1495, allocations: 23.19 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1495, allocations: 4.062 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.1496, allocations: 9.641 kB / 305.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1496, allocations: 8.266 kB / 305.8 MB, free: 17.02 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 7.944e-05/0.1497, allocations: 125.6 kB / 305.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.1497, allocations: 12.73 kB / 305.9 MB, free: 16.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1499, allocations: 91.22 kB / 306 MB, free: 16.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1499, allocations: 7.047 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1499, allocations: 3.938 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1499, allocations: 1.688 kB / 306 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.15, allocations: 103.1 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.15, allocations: 1.031 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.1501, allocations: 9.766 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1501, allocations: 1.406 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1501, allocations: 2.531 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1501, allocations: 1.719 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1501, allocations: 4 kB / 306.1 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.1502, allocations: 135.5 kB / 306.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.1503, allocations: 14.22 kB / 306.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1503, allocations: 3.047 kB / 306.3 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.183e-05/0.1504, allocations: 9.391 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1504, allocations: 8.266 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.1504, allocations: 11.42 kB / 306.3 MB, free: 16.63 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.631e-05/0.1505, allocations: 69.02 kB / 306.4 MB, free: 16.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1505, allocations: 0 / 306.4 MB, free: 16.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.1508, allocations: 38.59 kB / 306.4 MB, free: 16.6 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.001497/0.1523, allocations: 0.563 MB / 307 MB, free: 16.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1524, allocations: 54.89 kB / 307 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.1524, allocations: 1.125 kB / 307 MB, free: 16.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.1525, allocations: 31.06 kB / 307.1 MB, free: 16.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.1527, allocations: 56.38 kB / 307.1 MB, free: 16.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.1532, allocations: 258.4 kB / 307.4 MB, free: 16.05 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.1533, allocations: 80.22 kB / 307.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.625e-05/0.1533, allocations: 29.97 kB / 307.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.1535, allocations: 94.39 kB / 307.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1535, allocations: 0 / 307.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.007097/0.1606, allocations: 3.188 MB / 310.8 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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: 3.0453136772848666]