Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.0008894/0.0008894, allocations: 76.06 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.0009599/0.0009599, 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.8325/0.8325, allocations: 158.6 MB / 186 MB, free: 2.762 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.1161/0.1161, allocations: 32.39 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.995e-05, allocations: 6.312 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002568/0.002588, allocations: 1.86 MB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1317/0.1343, allocations: 0.8929 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.83e-05/0.1344, allocations: 5.094 kB / 301.9 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.1348, allocations: 160.2 kB / 302.1 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1351, allocations: 139.8 kB / 302.2 MB, free: 19.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1354, allocations: 151.7 kB / 302.3 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1356, allocations: 222.2 kB / 302.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.1357, allocations: 9.938 kB / 302.6 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1359, allocations: 130.3 kB / 302.7 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.136, allocations: 108 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.136, allocations: 7.719 kB / 302.8 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.1361, allocations: 45.97 kB / 302.9 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.1362, allocations: 51.88 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1362, allocations: 39.19 kB / 302.9 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1365, allocations: 160.5 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1365, allocations: 0 / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1365, allocations: 0.7969 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1365, allocations: 1.062 kB / 303.1 MB, free: 19.05 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004535/0.1369, allocations: 427.2 kB / 303.5 MB, free: 18.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1369, allocations: 14.66 kB / 303.5 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.137, allocations: 20.38 kB / 303.6 MB, free: 18.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.1372, allocations: 189.6 kB / 303.7 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1372, allocations: 4.375 kB / 303.7 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1372, allocations: 9.562 kB / 303.8 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1374, allocations: 98.48 kB / 303.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1374, allocations: 8.938 kB / 303.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1374, allocations: 4.938 kB / 303.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1374, allocations: 1.125 kB / 303.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.1375, allocations: 21.59 kB / 303.9 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.1377, allocations: 279.7 kB / 304.2 MB, free: 18.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1379, allocations: 174.2 kB / 304.3 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.1379, allocations: 29.34 kB / 304.4 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1379, allocations: 6.594 kB / 304.4 MB, free: 18.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.1381, allocations: 106.3 kB / 304.5 MB, free: 18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.1381, allocations: 0 / 304.5 MB, free: 18 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.000481/0.1386, allocations: 200 kB / 304.7 MB, free: 17.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1386, allocations: 83.25 kB / 304.7 MB, free: 17.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.1388, allocations: 275.8 kB / 305 MB, free: 17.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1388, allocations: 33.55 kB / 305 MB, free: 17.69 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.1389, allocations: 109.1 kB / 305.2 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1389, allocations: 54.92 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.139, allocations: 36.48 kB / 305.2 MB, free: 17.56 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.139, allocations: 340 kB / 305.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-05/0.1391, allocations: 18.14 kB / 305.6 MB, free: 17.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.1391, allocations: 50.39 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.1392, allocations: 96.58 kB / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1392, allocations: 0 / 305.7 MB, free: 17.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001583/0.1394, allocations: 114.4 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1394, allocations: 5.438 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1394, allocations: 2.859 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1394, allocations: 1.938 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1395, allocations: 31.56 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1395, allocations: 2.312 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.783e-05/0.1396, allocations: 5.328 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1396, allocations: 10.78 kB / 305.9 MB, free: 17.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.27e-05/0.1397, allocations: 130.5 kB / 306 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1397, allocations: 22.11 kB / 306.1 MB, free: 16.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.1399, allocations: 119.2 kB / 306.2 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1399, allocations: 2.734 kB / 306.2 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1399, allocations: 8.438 kB / 306.2 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1399, allocations: 1.219 kB / 306.2 MB, free: 16.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.1403, allocations: 495.6 kB / 306.7 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1403, allocations: 5.625 kB / 306.7 MB, free: 16.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.1404, allocations: 26.34 kB / 306.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1404, allocations: 1.531 kB / 306.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1404, allocations: 4 kB / 306.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1404, allocations: 3.203 kB / 306.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1404, allocations: 1.125 kB / 306.7 MB, free: 16.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.1406, allocations: 377.7 kB / 307.1 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.1406, allocations: 23.67 kB / 307.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1406, allocations: 9.156 kB / 307.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.1407, allocations: 5.781 kB / 307.1 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1408, allocations: 23.08 kB / 307.1 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.1408, allocations: 7.297 kB / 307.1 MB, free: 16.22 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1409, allocations: 117.4 kB / 307.3 MB, free: 16.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1409, allocations: 0 / 307.3 MB, free: 16.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.1413, allocations: 43.03 kB / 307.3 MB, free: 16.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001608/0.1429, allocations: 0.5826 MB / 307.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.143, allocations: 78.58 kB / 308 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.143, allocations: 3 kB / 308 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.1431, allocations: 44.66 kB / 308 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1435, allocations: 65.17 kB / 308.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.144, allocations: 388 kB / 308.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.715e-05/0.1441, allocations: 89.59 kB / 308.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.486e-05/0.1442, allocations: 40.77 kB / 308.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.1443, allocations: 87.39 kB / 308.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1443, allocations: 1.594 kB / 308.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of Templates: time 0.006789/0.1511, allocations: 3.159 MB / 311.8 MB, free: 14.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.0890670479275286]