Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001119/0.001119, 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.001224/0.001224, 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.9141/0.9141, 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.1367/0.1367, 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 299.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.838e-05, allocations: 2.312 kB / 299.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002285/0.002304, allocations: 1.782 MB / 301 MB, free: 300 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1477, allocations: 1.524 MB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.1478, allocations: 1.094 kB / 302.5 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1481, allocations: 38.97 kB / 302.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1484, allocations: 61.67 kB / 302.6 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1487, allocations: 87.23 kB / 302.7 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.1489, allocations: 105 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.149, allocations: 11.06 kB / 302.8 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1491, allocations: 57.17 kB / 302.8 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1493, allocations: 32.05 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1493, allocations: 7.812 kB / 302.9 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1494, allocations: 69.14 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1495, allocations: 18.81 kB / 303 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.1495, allocations: 21.48 kB / 303 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1498, allocations: 123.9 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1498, allocations: 0 / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1498, allocations: 1.625 kB / 303.1 MB, free: 19.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1498, allocations: 0.8125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000404/0.1502, allocations: 309.1 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1502, allocations: 10.47 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.1503, allocations: 13.25 kB / 303.4 MB, free: 18.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.1504, allocations: 143 kB / 303.6 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.1504, allocations: 4.703 kB / 303.6 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1504, allocations: 4.094 kB / 303.6 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1506, allocations: 113.5 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1506, allocations: 2 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1506, allocations: 1.359 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1506, allocations: 1.406 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4e-05/0.1507, allocations: 25.75 kB / 303.7 MB, free: 18.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.1509, allocations: 168.2 kB / 303.9 MB, free: 18.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.151, allocations: 94.45 kB / 304 MB, free: 18.31 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.151, allocations: 18.86 kB / 304 MB, free: 18.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.151, allocations: 5.031 kB / 304 MB, free: 18.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001052/0.1511, allocations: 75.55 kB / 304.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 3.557e-06/0.1511, allocations: 0.6562 kB / 304.1 MB, free: 18.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003704/0.1515, allocations: 117.7 kB / 304.2 MB, free: 18.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.1515, allocations: 79.73 kB / 304.3 MB, free: 18.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1516, allocations: 161.2 kB / 304.4 MB, free: 17.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1517, allocations: 27.02 kB / 304.5 MB, free: 17.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.1517, allocations: 96.34 kB / 304.6 MB, free: 17.85 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1517, allocations: 27.77 kB / 304.6 MB, free: 17.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1517, allocations: 26.23 kB / 304.6 MB, free: 17.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.1518, allocations: 329.2 kB / 304.9 MB, free: 17.49 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.1518, allocations: 11.66 kB / 304.9 MB, free: 17.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-05/0.1519, allocations: 59.72 kB / 305 MB, free: 17.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.1519, allocations: 51.5 kB / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1519, allocations: 0 / 305 MB, free: 17.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.897e-05/0.152, allocations: 73.03 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.152, allocations: 8.594 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.152, allocations: 1.312 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1521, allocations: 1.406 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.1521, allocations: 20.53 kB / 305.1 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.1521, allocations: 1.906 kB / 305.2 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.1522, allocations: 4.344 kB / 305.2 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1522, allocations: 5.406 kB / 305.2 MB, free: 17.36 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 (11): * Single equations (assignments): 11 * 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.421e-05/0.1522, allocations: 126.2 kB / 305.3 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.1522, allocations: 9.391 kB / 305.3 MB, free: 17.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.1524, allocations: 85.25 kB / 305.4 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1524, allocations: 2.375 kB / 305.4 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1524, allocations: 0 / 305.4 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1524, allocations: 0.6562 kB / 305.4 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.1527, allocations: 316.9 kB / 305.7 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1527, allocations: 0 / 305.7 MB, free: 16.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1527, allocations: 17.44 kB / 305.7 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1527, allocations: 1.094 kB / 305.7 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1527, allocations: 3.891 kB / 305.7 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1527, allocations: 1.094 kB / 305.7 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1527, allocations: 0 / 305.7 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.1528, allocations: 223.2 kB / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.1529, allocations: 9.703 kB / 305.9 MB, free: 16.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1529, allocations: 14.3 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.469e-05/0.1529, allocations: 3.109 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1529, allocations: 6.797 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.153, allocations: 11.92 kB / 306 MB, free: 16.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.153, allocations: 42.69 kB / 306 MB, free: 16.72 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.153, allocations: 0 / 306 MB, free: 16.72 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.1532, allocations: 32.83 kB / 306 MB, free: 16.71 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 (11): * Single equations (assignments): 9 * 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.001344/0.1545, allocations: 0.6328 MB / 306.7 MB, free: 16.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1547, allocations: 48.48 kB / 306.7 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/0.1547, allocations: 1.281 kB / 306.7 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.1547, allocations: 29.48 kB / 306.8 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1549, allocations: 29.59 kB / 306.8 MB, free: 16.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.1553, allocations: 224.7 kB / 307 MB, free: 16.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.533e-05/0.1554, allocations: 66.34 kB / 307.1 MB, free: 16.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.455e-05/0.1554, allocations: 24.88 kB / 307.1 MB, free: 16.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/0.1555, allocations: 76.39 kB / 307.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1555, allocations: 0 / 307.2 MB, free: 16.01 MB / 282.7 MB Notification: Performance of Templates: time 0.005635/0.1611, allocations: 2.44 MB / 309.6 MB, free: 15.69 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0462126452475786]