Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001742/0.001742, 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.001294/0.001294, allocations: 173 kB / 24.14 MB, free: 356 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.9031/0.9031, 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.131/0.131, 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.517e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00242/0.002436, allocations: 1.628 MB / 300.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005339/0.002969, allocations: 319.4 kB / 301.1 MB, free: 196 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.00302, allocations: 7.938 kB / 301.1 MB, free: 188 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.003229, allocations: 27.84 kB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.003359, allocations: 35.8 kB / 301.1 MB, free: 124 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.003492, allocations: 71.7 kB / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1265/0.13, allocations: 53.48 kB / 301.2 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1302, allocations: 10.34 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.976e-05/0.1303, allocations: 28.3 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.1303, allocations: 13.12 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1304, allocations: 2.375 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1305, allocations: 33.69 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.04e-05/0.1305, allocations: 13.75 kB / 301.3 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.527e-05/0.1305, allocations: 13.02 kB / 301.4 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1307, allocations: 67.23 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1307, allocations: 2.375 kB / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1307, allocations: 0 / 301.4 MB, free: 19.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1307, allocations: 0 / 301.4 MB, free: 19.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002883/0.131, allocations: 280.5 kB / 301.7 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.131, allocations: 9.344 kB / 301.7 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.1311, allocations: 10.5 kB / 301.7 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1312, allocations: 131 kB / 301.9 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1312, allocations: 2.031 kB / 301.9 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.1312, allocations: 1.844 kB / 301.9 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.499e-05/0.1313, allocations: 54.31 kB / 301.9 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1313, allocations: 4.266 kB / 301.9 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.1313, allocations: 2.344 kB / 301.9 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.1313, allocations: 3.938 kB / 301.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.1313, allocations: 10.48 kB / 301.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/0.1315, allocations: 162.9 kB / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.1317, allocations: 29.08 kB / 302.1 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.1317, allocations: 14.16 kB / 302.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1317, allocations: 5.141 kB / 302.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1317, allocations: 33.42 kB / 302.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1317, allocations: 0.8438 kB / 302.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002823/0.132, allocations: 84.69 kB / 302.3 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.132, allocations: 53 kB / 302.3 MB, free: 18.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.1321, allocations: 144 kB / 302.4 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.1321, allocations: 26.39 kB / 302.5 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.1322, allocations: 90.47 kB / 302.6 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1322, allocations: 16.7 kB / 302.6 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.1322, allocations: 15.53 kB / 302.6 MB, free: 18.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.1323, allocations: 322 kB / 302.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.1323, allocations: 5.016 kB / 302.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.1323, allocations: 11.19 kB / 302.9 MB, free: 17.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.219e-05/0.1323, allocations: 18.78 kB / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1323, allocations: 0 / 302.9 MB, free: 17.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.295e-05/0.1324, allocations: 45.23 kB / 303 MB, free: 17.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1324, allocations: 9.688 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1324, allocations: 1.906 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1324, allocations: 1.078 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.1324, allocations: 16.75 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.1324, allocations: 1.203 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1325, allocations: 10.41 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.1325, allocations: 6.281 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.424e-05/0.1325, allocations: 111 kB / 303.1 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.1325, allocations: 13.22 kB / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.1326, allocations: 55.38 kB / 303.2 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1326, allocations: 1.938 kB / 303.2 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1326, allocations: 0.6094 kB / 303.2 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1326, allocations: 2.219 kB / 303.2 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.1328, allocations: 209.7 kB / 303.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1328, allocations: 1.781 kB / 303.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.1328, allocations: 17.47 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1328, allocations: 1.25 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.1328, allocations: 0.6562 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1328, allocations: 6.641 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1328, allocations: 0.5156 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.325e-05/0.1329, allocations: 148 kB / 303.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-06/0.1329, allocations: 10.08 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1329, allocations: 2.688 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.1329, allocations: 3.219 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.133, allocations: 4.594 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.133, allocations: 1.156 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.367e-05/0.133, allocations: 37.59 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.133, allocations: 0 / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.1331, allocations: 15.19 kB / 303.7 MB, free: 17.38 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009904/0.1341, allocations: 0.4969 MB / 304.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.298e-05/0.1342, allocations: 30.84 kB / 304.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1342, allocations: 0 / 304.2 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.1342, allocations: 18.34 kB / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.1344, allocations: 15.08 kB / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.1347, allocations: 170.1 kB / 304.4 MB, free: 16.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.1347, allocations: 63.73 kB / 304.4 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.1348, allocations: 6.203 kB / 304.5 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.1348, allocations: 61.44 kB / 304.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of SimCode: time 1.173e-06/0.1348, allocations: 0 / 304.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of Templates: time 0.003345/0.1382, allocations: 1.217 MB / 305.7 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.7685145172290504]