Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009258/0.0009258, allocations: 80.05 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.001011/0.001011, 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.8543/0.8543, allocations: 158.6 MB / 186 MB, free: 2.758 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.1378/0.1378, 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.588e-05, allocations: 6.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001977/0.001993, allocations: 1.724 MB / 300.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1364/0.1384, allocations: 0.7988 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.1385, allocations: 5.25 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1388, allocations: 37.39 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.139, allocations: 56.86 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1393, allocations: 93 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.1395, allocations: 94.88 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.1395, allocations: 8.219 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1396, allocations: 57.67 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.194e-05/0.1397, allocations: 24.91 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1397, allocations: 3.594 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.1398, allocations: 41.64 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.1399, allocations: 24.23 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.1399, allocations: 18.98 kB / 302.1 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1402, allocations: 97.14 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1402, allocations: 0.5938 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1402, allocations: 1.125 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1402, allocations: 0.5938 kB / 302.2 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.0003703/0.1405, allocations: 319.7 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1406, allocations: 9.344 kB / 302.5 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.1406, allocations: 14.11 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1408, allocations: 137.6 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1408, allocations: 2.656 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.1408, allocations: 6.047 kB / 302.7 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1409, allocations: 60.98 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1409, allocations: 4.562 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1409, allocations: 5.562 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1409, allocations: 1.875 kB / 302.8 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.858e-05/0.141, allocations: 11.62 kB / 302.8 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.1412, allocations: 164.4 kB / 302.9 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.1413, allocations: 85.25 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.1413, allocations: 15.53 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1413, allocations: 1.156 kB / 303 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.24e-05/0.1414, allocations: 75.02 kB / 303.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1414, allocations: 0 / 303.1 MB, free: 18.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003225/0.1417, allocations: 104.1 kB / 303.2 MB, free: 18.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.1417, allocations: 56.5 kB / 303.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1419, allocations: 167.2 kB / 303.4 MB, free: 18.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.1419, allocations: 30.58 kB / 303.5 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.1419, allocations: 96.66 kB / 303.6 MB, free: 18.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.1419, allocations: 31.59 kB / 303.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.142, allocations: 19.17 kB / 303.6 MB, free: 18.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.142, allocations: 329.2 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.142, allocations: 10.44 kB / 303.9 MB, free: 17.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.142, allocations: 22.75 kB / 304 MB, free: 17.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.281e-05/0.1421, allocations: 43.92 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1421, allocations: 0.875 kB / 304 MB, free: 17.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001087/0.1422, allocations: 73.44 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1422, allocations: 4.75 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1422, allocations: 6.219 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1422, allocations: 1.188 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.1423, allocations: 18.86 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.1423, allocations: 0.875 kB / 304.1 MB, free: 17.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.534e-05/0.1424, allocations: 11.23 kB / 304.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1424, allocations: 3.531 kB / 304.1 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 5.836e-05/0.1424, allocations: 119.1 kB / 304.2 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1424, allocations: 12.22 kB / 304.2 MB, free: 17.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.1426, allocations: 73.27 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1426, allocations: 2.125 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.1426, allocations: 0 / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1426, allocations: 1.734 kB / 304.3 MB, free: 17.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1428, allocations: 296.4 kB / 304.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1428, allocations: 4.031 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1428, allocations: 10.34 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1428, allocations: 1.062 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1428, allocations: 5.484 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1429, allocations: 4.562 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1429, allocations: 1.859 kB / 304.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.143, allocations: 213.4 kB / 304.8 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.143, allocations: 10.66 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.143, allocations: 6.266 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.143, allocations: 1.969 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.1431, allocations: 11.02 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1431, allocations: 3.938 kB / 304.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.449e-05/0.1431, allocations: 45.67 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1431, allocations: 0.9375 kB / 304.9 MB, free: 17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.1434, allocations: 29.44 kB / 305 MB, free: 17 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.001401/0.1448, allocations: 0.5677 MB / 305.5 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.1449, allocations: 44.97 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.1449, allocations: 2.312 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.145, allocations: 21.09 kB / 305.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1452, allocations: 44.62 kB / 305.6 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.1455, allocations: 213 kB / 305.8 MB, free: 16.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.1456, allocations: 70.52 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.1456, allocations: 14.94 kB / 305.9 MB, free: 16.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1457, allocations: 70.41 kB / 306 MB, free: 16.35 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1457, allocations: 0 / 306 MB, free: 16.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004354/0.1501, allocations: 2.002 MB / 308 MB, free: 16.1 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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: 2.91657650237903]