Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.0009066/0.0009066, 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.0009731/0.0009731, 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.9897/0.9897, 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.145/0.145, 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.878e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002559/0.002578, allocations: 1.727 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.14/0.1426, allocations: 0.7992 MB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1427, allocations: 1.5 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.1431, allocations: 49.27 kB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1433, allocations: 71.09 kB / 301.8 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1437, allocations: 80.95 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1439, allocations: 98.06 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.144, allocations: 9.469 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1441, allocations: 58.14 kB / 302 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.1442, allocations: 24.56 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1442, allocations: 4.531 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1444, allocations: 40.86 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.1444, allocations: 28.72 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.1445, allocations: 23.5 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1447, allocations: 113.7 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1447, allocations: 1.219 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1447, allocations: 0.5938 kB / 302.3 MB, free: 19.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1447, allocations: 0.7812 kB / 302.3 MB, free: 19.13 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.0003983/0.1451, allocations: 342.7 kB / 302.6 MB, free: 18.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1451, allocations: 9.406 kB / 302.6 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.1452, allocations: 11.78 kB / 302.6 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1453, allocations: 149.3 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1453, allocations: 7.281 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1454, allocations: 2.688 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.1455, allocations: 67.53 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1455, allocations: 3.938 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1455, allocations: 1.297 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1455, allocations: 1.125 kB / 302.8 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.1455, allocations: 8.656 kB / 302.9 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.1458, allocations: 173.2 kB / 303 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.382e-05/0.1459, allocations: 85.88 kB / 303.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.1459, allocations: 16.23 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1459, allocations: 2.719 kB / 303.1 MB, free: 18.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.238e-05/0.146, allocations: 66.72 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.146, allocations: 3.562 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003277/0.1463, allocations: 112.9 kB / 303.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.1463, allocations: 52.5 kB / 303.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1465, allocations: 208.8 kB / 303.6 MB, free: 18.13 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1465, allocations: 30.67 kB / 303.6 MB, free: 18.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.1465, allocations: 96.92 kB / 303.7 MB, free: 18.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1465, allocations: 31.19 kB / 303.7 MB, free: 18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1466, allocations: 23.38 kB / 303.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.02e-05/0.1466, allocations: 326.8 kB / 304.1 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.52e-05/0.1467, allocations: 14.45 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.812e-05/0.1467, allocations: 30.05 kB / 304.1 MB, free: 17.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.261e-05/0.1467, allocations: 36.55 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1467, allocations: 1.25 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001074/0.1468, allocations: 78.41 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1469, allocations: 5.953 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1469, allocations: 5 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1469, allocations: 1.469 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.1469, allocations: 15.45 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.147, allocations: 1.188 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.147, allocations: 3.578 kB / 304.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.147, allocations: 3.172 kB / 304.3 MB, free: 17.58 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.966e-05/0.1471, allocations: 126.8 kB / 304.4 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.1471, allocations: 15.25 kB / 304.4 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1472, allocations: 74.52 kB / 304.5 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1472, allocations: 5.25 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1472, allocations: 0 / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1472, allocations: 0.75 kB / 304.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1475, allocations: 301.1 kB / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1475, allocations: 0 / 304.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.1475, allocations: 13.39 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1475, allocations: 1.219 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1475, allocations: 8.812 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1475, allocations: 1.156 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1475, allocations: 1.922 kB / 304.8 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1476, allocations: 222.3 kB / 305 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.1477, allocations: 13.36 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1477, allocations: 5.797 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.697e-05/0.1477, allocations: 3.75 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1478, allocations: 6.094 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1478, allocations: 3.438 kB / 305 MB, free: 16.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.657e-05/0.1479, allocations: 72.36 kB / 305.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1479, allocations: 0 / 305.1 MB, free: 16.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.1482, allocations: 30.38 kB / 305.1 MB, free: 16.95 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.00154/0.1497, allocations: 0.5618 MB / 305.7 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1498, allocations: 46.89 kB / 305.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.1498, allocations: 2.062 kB / 305.7 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.1499, allocations: 30.62 kB / 305.8 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1501, allocations: 44.83 kB / 305.8 MB, free: 16.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.1506, allocations: 250.1 kB / 306.1 MB, free: 16.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.729e-05/0.1506, allocations: 72.16 kB / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.467e-05/0.1507, allocations: 12.78 kB / 306.1 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.1508, allocations: 66.05 kB / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.113e-06/0.1508, allocations: 0 / 306.2 MB, free: 16.3 MB / 282.7 MB Notification: Performance of Templates: time 0.005215/0.156, allocations: 2.026 MB / 308.2 MB, free: 16.04 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.158250030130148]