Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001371/0.001371, 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.001714/0.001714, 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.94/0.94, 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.1451/0.1451, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.109e-05, allocations: 2.312 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002979/0.00301, allocations: 1.731 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1391/0.1421, allocations: 1.524 MB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.1422, allocations: 1.906 kB / 302.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1425, allocations: 43.77 kB / 302.4 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.1428, allocations: 63.11 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.143, allocations: 85.42 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1432, allocations: 104.8 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.1433, allocations: 5.484 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.1434, allocations: 53.67 kB / 302.8 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1435, allocations: 34.88 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1435, allocations: 3.594 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1437, allocations: 61.94 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.1437, allocations: 16.81 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.1437, allocations: 23.2 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.144, allocations: 110.6 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.144, allocations: 0 / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.144, allocations: 3.938 kB / 303 MB, free: 19.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.144, allocations: 0 / 303 MB, free: 19.09 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.0003785/0.1444, allocations: 306.4 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.1444, allocations: 10.91 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.1444, allocations: 7.062 kB / 303.3 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1446, allocations: 141.9 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1446, allocations: 3.594 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1446, allocations: 6.953 kB / 303.5 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.1448, allocations: 103.1 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1448, allocations: 4.719 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1448, allocations: 1.031 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1448, allocations: 2.344 kB / 303.6 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.073e-05/0.1448, allocations: 14.27 kB / 303.6 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.145, allocations: 164.1 kB / 303.7 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.475e-05/0.1451, allocations: 86.98 kB / 303.8 MB, free: 18.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.1452, allocations: 11.55 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.1452, allocations: 1.625 kB / 303.8 MB, free: 18.33 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.684e-05/0.1453, allocations: 72.58 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.1453, allocations: 0.8438 kB / 303.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003436/0.1456, allocations: 113.5 kB / 304 MB, free: 18.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1456, allocations: 81.14 kB / 304.1 MB, free: 18.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.1458, allocations: 151.7 kB / 304.3 MB, free: 18.01 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1458, allocations: 31.77 kB / 304.3 MB, free: 17.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.1458, allocations: 90.08 kB / 304.4 MB, free: 17.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1458, allocations: 29.94 kB / 304.4 MB, free: 17.87 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1459, allocations: 29.8 kB / 304.4 MB, free: 17.85 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.654e-05/0.1459, allocations: 325.2 kB / 304.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1459, allocations: 11.02 kB / 304.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.146, allocations: 52.81 kB / 304.8 MB, free: 17.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.146, allocations: 48.17 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.146, allocations: 1.344 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001023/0.1461, allocations: 70.62 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1461, allocations: 5.281 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1461, allocations: 4.562 kB / 304.9 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1462, allocations: 5.594 kB / 304.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.404e-05/0.1462, allocations: 14.92 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.1462, allocations: 0 / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.1463, allocations: 4.922 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1463, allocations: 2.344 kB / 305 MB, free: 17.4 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 5.689e-05/0.1463, allocations: 119 kB / 305.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1463, allocations: 12.02 kB / 305.1 MB, free: 17.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1465, allocations: 73.36 kB / 305.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1465, allocations: 1.719 kB / 305.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.1465, allocations: 1.656 kB / 305.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1465, allocations: 0.7031 kB / 305.2 MB, free: 17.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.1467, allocations: 296.9 kB / 305.5 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1467, allocations: 1.219 kB / 305.5 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.428e-05/0.1468, allocations: 14.77 kB / 305.5 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1468, allocations: 2.203 kB / 305.5 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1468, allocations: 5.812 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1468, allocations: 1.156 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1468, allocations: 0.6094 kB / 305.5 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.1469, allocations: 221.7 kB / 305.7 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.1469, allocations: 7.953 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1469, allocations: 1.875 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/0.147, allocations: 6.906 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.147, allocations: 5.922 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.147, allocations: 12.09 kB / 305.7 MB, free: 16.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.1471, allocations: 37.64 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1471, allocations: 4 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002458/0.1473, allocations: 31.92 kB / 305.8 MB, free: 16.76 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.001517/0.1488, allocations: 0.6353 MB / 306.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1489, allocations: 42.83 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1489, allocations: 1.406 kB / 306.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.149, allocations: 21.86 kB / 306.5 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.0002267/0.1492, allocations: 33.88 kB / 306.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.1495, allocations: 201.3 kB / 306.7 MB, free: 16.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.1496, allocations: 64.27 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.588e-05/0.1496, allocations: 13.2 kB / 306.8 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.1497, allocations: 72.16 kB / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1497, allocations: 1.375 kB / 306.9 MB, free: 16.08 MB / 282.7 MB Notification: Performance of Templates: time 0.005214/0.1549, allocations: 2.308 MB / 309.2 MB, free: 15.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.2031011511571705]