Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.001519/0.001519, 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.001671/0.001671, 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.9413/0.9413, 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.1601/0.1601, 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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.567e-05, allocations: 2.312 kB / 299.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002204/0.00222, allocations: 1.786 MB / 301 MB, free: 292 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.1497, allocations: 1.515 MB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.774e-05/0.1498, allocations: 4.625 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1501, allocations: 41.33 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1503, allocations: 59.83 kB / 302.6 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1505, allocations: 85.81 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1506, allocations: 106.7 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.253e-05/0.1507, allocations: 5.047 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.1508, allocations: 51.67 kB / 302.8 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.661e-05/0.1509, allocations: 30.8 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1509, allocations: 6.781 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.151, allocations: 64.91 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.1511, allocations: 17.2 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.1511, allocations: 16.72 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1513, allocations: 115.8 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1513, allocations: 0 / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1513, allocations: 0 / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.1513, allocations: 1.844 kB / 303.1 MB, free: 19.07 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.0003192/0.1516, allocations: 308.9 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1517, allocations: 9.719 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.1517, allocations: 8.531 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1518, allocations: 142.4 kB / 303.5 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1519, allocations: 6.156 kB / 303.6 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.1519, allocations: 4.812 kB / 303.6 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.152, allocations: 101.5 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.152, allocations: 5.906 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.152, allocations: 1.312 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.152, allocations: 1.438 kB / 303.7 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.1521, allocations: 12.41 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.1523, allocations: 169.5 kB / 303.8 MB, free: 18.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/0.1524, allocations: 84.47 kB / 303.9 MB, free: 18.32 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.1524, allocations: 12.84 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.1524, allocations: 2.125 kB / 303.9 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.621e-05/0.1525, allocations: 69.36 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1525, allocations: 1.781 kB / 304 MB, free: 18.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002898/0.1528, allocations: 110.7 kB / 304.1 MB, free: 18.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.1528, allocations: 83.23 kB / 304.2 MB, free: 18.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.1529, allocations: 149.5 kB / 304.3 MB, free: 17.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.1529, allocations: 30.55 kB / 304.4 MB, free: 17.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.1529, allocations: 91.88 kB / 304.5 MB, free: 17.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.153, allocations: 26.27 kB / 304.5 MB, free: 17.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.153, allocations: 28.47 kB / 304.5 MB, free: 17.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.153, allocations: 326.1 kB / 304.8 MB, free: 17.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.1531, allocations: 14.34 kB / 304.9 MB, free: 17.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.1531, allocations: 57.58 kB / 304.9 MB, free: 17.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.1531, allocations: 44.77 kB / 305 MB, free: 17.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1531, allocations: 1.656 kB / 305 MB, free: 17.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.489e-05/0.1532, allocations: 73.12 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1532, allocations: 6.391 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1532, allocations: 0.9688 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1533, allocations: 1.062 kB / 305 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.1533, allocations: 19.14 kB / 305.1 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.1533, allocations: 4.969 kB / 305.1 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.1534, allocations: 3.656 kB / 305.1 MB, free: 17.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1534, allocations: 5.531 kB / 305.1 MB, free: 17.38 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.861e-05/0.1534, allocations: 117.3 kB / 305.2 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1534, allocations: 12.14 kB / 305.2 MB, free: 17.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1535, allocations: 74.09 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1535, allocations: 4.625 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1535, allocations: 0.6562 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1535, allocations: 2.125 kB / 305.3 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1537, allocations: 294.2 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1537, allocations: 6.031 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.1538, allocations: 9.75 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.1538, allocations: 1.125 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1538, allocations: 5.453 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1538, allocations: 1.703 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1538, allocations: 2.531 kB / 305.6 MB, free: 16.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.055e-05/0.1539, allocations: 217.1 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1539, allocations: 8.234 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.1539, allocations: 5.766 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.135e-05/0.154, allocations: 3.156 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.154, allocations: 10.97 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.154, allocations: 2.906 kB / 305.8 MB, free: 16.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.154, allocations: 39.31 kB / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.154, allocations: 0 / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.1542, allocations: 32.06 kB / 305.9 MB, free: 16.75 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.001332/0.1556, allocations: 0.6427 MB / 306.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001047/0.1557, allocations: 39.7 kB / 306.6 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1557, allocations: 1.25 kB / 306.6 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.174e-05/0.1557, allocations: 25.09 kB / 306.6 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.1559, allocations: 37.92 kB / 306.6 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1562, allocations: 192.5 kB / 306.8 MB, free: 16.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.1562, allocations: 63.62 kB / 306.9 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.1562, allocations: 17.78 kB / 306.9 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.1563, allocations: 75.86 kB / 307 MB, free: 16.05 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1563, allocations: 0 / 307 MB, free: 16.05 MB / 282.7 MB Notification: Performance of Templates: time 0.004799/0.1611, allocations: 2.306 MB / 309.3 MB, free: 15.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.0570993591099977]