Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009049/0.0009049, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001008/0.001008, 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.9857/0.9857, allocations: 158.6 MB / 186 MB, free: 2.73 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.1384/0.1384, allocations: 32.38 MB / 270.7 MB, free: 14.59 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 299.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.453e-05, allocations: 2.312 kB / 299.2 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002529/0.002554, allocations: 1.778 MB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.151/0.1535, allocations: 0.7865 MB / 301.8 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.1536, allocations: 5.25 kB / 301.8 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003411/0.1539, allocations: 84.78 kB / 301.8 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1542, allocations: 80.33 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1544, allocations: 86.69 kB / 302 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1546, allocations: 111.7 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.1547, allocations: 6.125 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1548, allocations: 67.8 kB / 302.2 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1549, allocations: 49.25 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1549, allocations: 4.031 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.155, allocations: 44.36 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.1551, allocations: 25.81 kB / 302.3 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1551, allocations: 19.92 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1553, allocations: 99.11 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1553, allocations: 4.5 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1553, allocations: 1.188 kB / 302.4 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1553, allocations: 0.7812 kB / 302.4 MB, free: 19.15 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000344/0.1557, allocations: 319.7 kB / 302.7 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1557, allocations: 11.31 kB / 302.8 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.1558, allocations: 10.16 kB / 302.8 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1559, allocations: 148.8 kB / 302.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1559, allocations: 2.562 kB / 302.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.1559, allocations: 3.703 kB / 302.9 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.156, allocations: 63.94 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.156, allocations: 5.953 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-06/0.156, allocations: 1.781 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.156, allocations: 1.094 kB / 303 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.1561, allocations: 12.61 kB / 303 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.1563, allocations: 165.3 kB / 303.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.964e-05/0.1564, allocations: 89.84 kB / 303.2 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.1564, allocations: 19.33 kB / 303.3 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1564, allocations: 2.516 kB / 303.3 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/0.1565, allocations: 64.72 kB / 303.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1565, allocations: 0 / 303.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000287/0.1568, allocations: 108.3 kB / 303.4 MB, free: 18.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.1568, allocations: 56.97 kB / 303.5 MB, free: 18.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1569, allocations: 187.2 kB / 303.7 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1569, allocations: 26.8 kB / 303.7 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.1569, allocations: 93.8 kB / 303.8 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1569, allocations: 27.23 kB / 303.8 MB, free: 18.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.157, allocations: 25.94 kB / 303.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.157, allocations: 324 kB / 304.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.157, allocations: 10.97 kB / 304.2 MB, free: 17.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/0.157, allocations: 23.8 kB / 304.2 MB, free: 17.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.1571, allocations: 49.17 kB / 304.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1571, allocations: 0 / 304.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001012/0.1572, allocations: 75.78 kB / 304.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1572, allocations: 5.5 kB / 304.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1572, allocations: 1.875 kB / 304.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1572, allocations: 1.094 kB / 304.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.1573, allocations: 19.17 kB / 304.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.1573, allocations: 5.156 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.1574, allocations: 3.281 kB / 304.4 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1574, allocations: 2.562 kB / 304.4 MB, free: 17.61 MB / 282.7 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 4.783e-05/0.1574, allocations: 118.8 kB / 304.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.1574, allocations: 13.56 kB / 304.5 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1575, allocations: 78.05 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1575, allocations: 1.156 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1575, allocations: 0 / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1575, allocations: 3.922 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1577, allocations: 304.8 kB / 304.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1577, allocations: 0.9062 kB / 304.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.1578, allocations: 10.52 kB / 304.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1578, allocations: 2.078 kB / 304.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.1578, allocations: 1.812 kB / 304.9 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1578, allocations: 4.734 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1578, allocations: 1.125 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.1579, allocations: 220 kB / 305.1 MB, free: 17.01 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1579, allocations: 13.03 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.1579, allocations: 2.875 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.1579, allocations: 6.891 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.158, allocations: 9.625 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.158, allocations: 2.938 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.479e-05/0.158, allocations: 63.97 kB / 305.2 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.158, allocations: 0 / 305.2 MB, free: 16.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.1582, allocations: 22.97 kB / 305.2 MB, free: 16.98 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: 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 (9): * Single equations (assignments): 7 * 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.001197/0.1594, allocations: 0.5768 MB / 305.8 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.804e-05/0.1595, allocations: 42.59 kB / 305.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1595, allocations: 1.312 kB / 305.8 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.1595, allocations: 23.92 kB / 305.9 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.1597, allocations: 36.38 kB / 305.9 MB, free: 16.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.16, allocations: 232.6 kB / 306.1 MB, free: 16.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.427e-05/0.1601, allocations: 67.98 kB / 306.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.006e-05/0.1601, allocations: 17.33 kB / 306.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.1602, allocations: 68.48 kB / 306.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1602, allocations: 1.125 kB / 306.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of Templates: time 0.004044/0.1642, allocations: 2.006 MB / 308.3 MB, free: 16.08 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.021989889908582]