Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.00128/0.00128, allocations: 80.05 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.001387/0.001387, 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.8613/0.8613, allocations: 158.6 MB / 186 MB, free: 2.766 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.1434/0.1434, allocations: 32.37 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.Test76,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.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,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.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.326e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002039/0.002062, allocations: 1.727 MB / 300.9 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1344/0.1365, allocations: 0.7946 MB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.1366, allocations: 1.062 kB / 301.7 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.1369, allocations: 52.09 kB / 301.7 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001994/0.1371, allocations: 62.75 kB / 301.8 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1373, allocations: 85.88 kB / 301.9 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1374, allocations: 120.8 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.1375, allocations: 10.16 kB / 302 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.1376, allocations: 60.77 kB / 302 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.1377, allocations: 39.11 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1377, allocations: 5.562 kB / 302.1 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.353e-05/0.1378, allocations: 50.7 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.1378, allocations: 26.47 kB / 302.2 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.1378, allocations: 25.39 kB / 302.2 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.138, allocations: 109.4 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.138, allocations: 0.9062 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.138, allocations: 0 / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.138, allocations: 0 / 302.3 MB, free: 19.14 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.0003547/0.1384, allocations: 327.5 kB / 302.6 MB, free: 18.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1384, allocations: 13.06 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.1384, allocations: 10.33 kB / 302.6 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1386, allocations: 148.8 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1386, allocations: 3.422 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1386, allocations: 6.25 kB / 302.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.1387, allocations: 71.05 kB / 302.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1387, allocations: 6.781 kB / 302.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1387, allocations: 0.75 kB / 302.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1387, allocations: 1.125 kB / 302.9 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.1388, allocations: 21.44 kB / 302.9 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.139, allocations: 180.4 kB / 303.1 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.1391, allocations: 104.3 kB / 303.2 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.1391, allocations: 15.58 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1391, allocations: 2.078 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.802e-05/0.1392, allocations: 79.22 kB / 303.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1392, allocations: 1.125 kB / 303.3 MB, free: 18.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003146/0.1395, allocations: 134.8 kB / 303.4 MB, free: 18.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1395, allocations: 53.31 kB / 303.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.1396, allocations: 174.2 kB / 303.6 MB, free: 18.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1396, allocations: 32.75 kB / 303.7 MB, free: 18.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.132e-05/0.1397, allocations: 92.5 kB / 303.7 MB, free: 18.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.1397, allocations: 29.7 kB / 303.8 MB, free: 18.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.1397, allocations: 33.94 kB / 303.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.67e-05/0.1398, allocations: 323.6 kB / 304.1 MB, free: 17.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.1398, allocations: 13.78 kB / 304.1 MB, free: 17.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.1398, allocations: 28.02 kB / 304.2 MB, free: 17.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.1399, allocations: 53 kB / 304.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1399, allocations: 0 / 304.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.72e-05/0.14, allocations: 83.06 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.14, allocations: 7.141 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.14, allocations: 1 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.14, allocations: 2.953 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.1401, allocations: 18.42 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1401, allocations: 1.703 kB / 304.3 MB, free: 17.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.1401, allocations: 8.188 kB / 304.3 MB, free: 17.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1401, allocations: 3.328 kB / 304.3 MB, free: 17.6 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 (12): * Single equations (assignments): 12 * 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.703e-05/0.1402, allocations: 118.8 kB / 304.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.57e-05/0.1402, allocations: 17.08 kB / 304.5 MB, free: 17.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.1403, allocations: 100.4 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1403, allocations: 1.219 kB / 304.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.1403, allocations: 5.156 kB / 304.6 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1403, allocations: 1.359 kB / 304.6 MB, free: 17.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1405, allocations: 315.9 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1405, allocations: 1.312 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1406, allocations: 19.45 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1406, allocations: 1.594 kB / 304.9 MB, free: 17.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1406, allocations: 11.28 kB / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1406, allocations: 1.406 kB / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1406, allocations: 0 / 304.9 MB, free: 17.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.284e-05/0.1407, allocations: 229.2 kB / 305.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.1407, allocations: 20.69 kB / 305.2 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1407, allocations: 8.203 kB / 305.2 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.1407, allocations: 2.938 kB / 305.2 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.1408, allocations: 16.73 kB / 305.2 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1408, allocations: 3.781 kB / 305.2 MB, free: 16.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.145e-05/0.1408, allocations: 51.81 kB / 305.2 MB, free: 16.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1408, allocations: 4 kB / 305.3 MB, free: 16.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.141, allocations: 29.38 kB / 305.3 MB, free: 16.96 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 (13): * Single equations (assignments): 11 * 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.001083/0.142, allocations: 0.5804 MB / 305.9 MB, free: 16.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.905e-05/0.1421, allocations: 50.7 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1421, allocations: 1.375 kB / 305.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.1422, allocations: 40.64 kB / 306 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.0001679/0.1424, allocations: 33.25 kB / 306 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.1427, allocations: 229.4 kB / 306.2 MB, free: 16.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.1427, allocations: 69.84 kB / 306.3 MB, free: 16.37 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.1427, allocations: 20.47 kB / 306.3 MB, free: 16.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.1428, allocations: 74.94 kB / 306.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1428, allocations: 0 / 306.4 MB, free: 16.32 MB / 282.7 MB Notification: Performance of Templates: time 0.00435/0.1472, allocations: 2.287 MB / 308.7 MB, free: 16.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.9617610736750066]