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.001013/0.001013, allocations: 76.06 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.001086/0.001086, allocations: 169 kB / 24.14 MB, free: 356 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.9375/0.9375, allocations: 158.6 MB / 186 MB, free: 2.734 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.1339/0.1339, allocations: 32.39 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.402e-06/1.402e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.693e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002888/0.002905, allocations: 1.844 MB / 301 MB, free: 232 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.1496, allocations: 1.606 MB / 302.6 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.1497, allocations: 5.281 kB / 302.6 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.1501, allocations: 56.34 kB / 302.7 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.1504, allocations: 94.09 kB / 302.8 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1507, allocations: 137.8 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.151, allocations: 190.4 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1511, allocations: 7.688 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1512, allocations: 101.3 kB / 303.2 MB, free: 19.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.1514, allocations: 54.97 kB / 303.3 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1514, allocations: 11.5 kB / 303.3 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1516, allocations: 64.03 kB / 303.3 MB, free: 18.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.1516, allocations: 33.8 kB / 303.4 MB, free: 18.97 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.1517, allocations: 36.78 kB / 303.4 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1519, allocations: 148.5 kB / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1519, allocations: 0 / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1519, allocations: 1.125 kB / 303.6 MB, free: 18.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1519, allocations: 0.7188 kB / 303.6 MB, free: 18.89 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.0004136/0.1523, allocations: 372.9 kB / 303.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1524, allocations: 8.719 kB / 303.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1524, allocations: 13.69 kB / 303.9 MB, free: 18.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1526, allocations: 169.5 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1526, allocations: 7.344 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1526, allocations: 6.016 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1528, allocations: 157.2 kB / 304.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1528, allocations: 3.938 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1528, allocations: 3.219 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.1529, allocations: 1.656 kB / 304.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.072e-05/0.1529, allocations: 22.83 kB / 304.3 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.153, allocations: 85.56 kB / 304.4 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.1531, allocations: 75.86 kB / 304.5 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.1532, allocations: 27.14 kB / 304.5 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.1532, allocations: 7.219 kB / 304.5 MB, free: 18.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.1533, allocations: 95.61 kB / 304.6 MB, free: 17.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 2.515e-06/0.1533, allocations: 1.094 kB / 304.6 MB, free: 17.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001841/0.1535, allocations: 98.16 kB / 304.7 MB, free: 17.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1535, allocations: 136.9 kB / 304.8 MB, free: 17.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1537, allocations: 201.5 kB / 305 MB, free: 17.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1537, allocations: 27.89 kB / 305 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.733e-05/0.1538, allocations: 100 kB / 305.1 MB, free: 17.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.1538, allocations: 35.38 kB / 305.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.1538, allocations: 33.2 kB / 305.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.1539, allocations: 330.3 kB / 305.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.1539, allocations: 16.27 kB / 305.5 MB, free: 17.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.1539, allocations: 104.9 kB / 305.6 MB, free: 17.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.154, allocations: 69.25 kB / 305.7 MB, free: 16.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.154, allocations: 0 / 305.7 MB, free: 16.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001052/0.1541, allocations: 98.91 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1541, allocations: 6.062 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1541, allocations: 3.016 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1542, allocations: 1.156 kB / 305.8 MB, free: 16.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.1542, allocations: 29.94 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1542, allocations: 1.766 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.1543, allocations: 10.95 kB / 305.9 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1543, allocations: 2.922 kB / 305.9 MB, free: 16.91 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 5.927e-05/0.1544, allocations: 120.5 kB / 306 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1544, allocations: 21.48 kB / 306 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.1545, allocations: 90.23 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1545, allocations: 1.5 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.1545, allocations: 5.188 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1545, allocations: 1.828 kB / 306.1 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.669e-05/0.1546, allocations: 102.5 kB / 306.2 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1546, allocations: 2.234 kB / 306.2 MB, free: 16.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1547, allocations: 14.11 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1547, allocations: 1.25 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1547, allocations: 2.781 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1547, allocations: 6.109 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1547, allocations: 1.5 kB / 306.2 MB, free: 16.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.1548, allocations: 129 kB / 306.4 MB, free: 16.53 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.1548, allocations: 13.11 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.1548, allocations: 3.656 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.1548, allocations: 9.547 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1549, allocations: 8.203 kB / 306.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1549, allocations: 11.67 kB / 306.4 MB, free: 16.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.155, allocations: 65.64 kB / 306.5 MB, free: 16.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.155, allocations: 0 / 306.5 MB, free: 16.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.1551, allocations: 43.28 kB / 306.5 MB, free: 16.48 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.001164/0.1563, allocations: 0.565 MB / 307.1 MB, free: 16.17 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1565, allocations: 58.47 kB / 307.1 MB, free: 16.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1565, allocations: 1.125 kB / 307.1 MB, free: 16.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.1565, allocations: 35.47 kB / 307.2 MB, free: 16.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1567, allocations: 52.45 kB / 307.2 MB, free: 16.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.1571, allocations: 258.7 kB / 307.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.1571, allocations: 75.81 kB / 307.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.779e-05/0.1572, allocations: 28.84 kB / 307.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1573, allocations: 94.41 kB / 307.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1573, allocations: 4 kB / 307.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of Templates: time 0.006224/0.1635, allocations: 3.181 MB / 310.8 MB, free: 15.25 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 -s gbode -gbm=radauIIA3 -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.055779696907848]