Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001425/0.001425, 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.001816/0.001816, 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.9465/0.9465, allocations: 158.6 MB / 186 MB, free: 2.781 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.1679/0.1679, allocations: 32.39 MB / 270.7 MB, free: 14.61 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.519e-05, allocations: 2.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002363/0.002388, allocations: 1.644 MB / 300.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1267/0.1291, allocations: 1.055 MB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.1291, allocations: 2.312 kB / 301.8 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1295, allocations: 28.58 kB / 301.8 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002484/0.1297, allocations: 39.91 kB / 301.9 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.13, allocations: 72.22 kB / 302 MB, free: 19.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1302, allocations: 63.66 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1303, allocations: 9.422 kB / 302 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.45e-05/0.1304, allocations: 30.67 kB / 302.1 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1305, allocations: 22.45 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1306, allocations: 3.156 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1307, allocations: 46.92 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.1307, allocations: 10.31 kB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1308, allocations: 18.92 kB / 302.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1309, allocations: 78.5 kB / 302.2 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1309, allocations: 0 / 302.2 MB, free: 19.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1309, allocations: 0 / 302.2 MB, free: 19.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1309, allocations: 0 / 302.2 MB, free: 19.22 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.0003294/0.1313, allocations: 277.5 kB / 302.5 MB, free: 18.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1313, allocations: 9.344 kB / 302.5 MB, free: 18.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1313, allocations: 10.7 kB / 302.5 MB, free: 18.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1315, allocations: 133.9 kB / 302.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1315, allocations: 5.031 kB / 302.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1315, allocations: 3.781 kB / 302.7 MB, free: 18.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1316, allocations: 91.89 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1316, allocations: 5.703 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1316, allocations: 5.406 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1316, allocations: 1.656 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.465e-05/0.1317, allocations: 6.469 kB / 302.8 MB, free: 18.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.1319, allocations: 159.8 kB / 302.9 MB, free: 18.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.132, allocations: 28.72 kB / 303 MB, free: 18.56 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.1321, allocations: 7.938 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.1321, allocations: 6.859 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.1321, allocations: 32.64 kB / 303 MB, free: 18.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.1321, allocations: 0.5625 kB / 303 MB, free: 18.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003452/0.1324, allocations: 86.58 kB / 303.1 MB, free: 18.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1325, allocations: 79.2 kB / 303.2 MB, free: 18.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1326, allocations: 136.5 kB / 303.3 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.1326, allocations: 30.45 kB / 303.3 MB, free: 18.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.195e-05/0.1326, allocations: 90.14 kB / 303.4 MB, free: 18.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1327, allocations: 16.52 kB / 303.4 MB, free: 18.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1327, allocations: 18.38 kB / 303.5 MB, free: 18.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.1328, allocations: 320.3 kB / 303.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.1328, allocations: 4.141 kB / 303.8 MB, free: 17.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.1328, allocations: 47.61 kB / 303.8 MB, free: 17.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.1328, allocations: 17.78 kB / 303.8 MB, free: 17.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1328, allocations: 1.156 kB / 303.8 MB, free: 17.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.333e-05/0.1329, allocations: 55.05 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1329, allocations: 6.156 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.133, allocations: 1.578 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.133, allocations: 0 / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.712e-05/0.133, allocations: 14.69 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.133, allocations: 0 / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.494e-05/0.1331, allocations: 4.859 kB / 303.9 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1331, allocations: 5.812 kB / 303.9 MB, free: 17.71 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 7.112e-05/0.1331, allocations: 118.3 kB / 304 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1332, allocations: 8.531 kB / 304 MB, free: 17.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.1333, allocations: 65.44 kB / 304.1 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1333, allocations: 2.547 kB / 304.1 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.1333, allocations: 0 / 304.1 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1333, allocations: 2.578 kB / 304.1 MB, free: 17.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1335, allocations: 203.8 kB / 304.3 MB, free: 17.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1335, allocations: 5.188 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.613e-05/0.1336, allocations: 16.84 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1336, allocations: 2.016 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.1336, allocations: 0 / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1336, allocations: 1.125 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.1336, allocations: 0.6094 kB / 304.3 MB, free: 17.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.1337, allocations: 142 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.1337, allocations: 9.094 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1337, allocations: 5.297 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.638e-05/0.1337, allocations: 2.828 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.1338, allocations: 9.062 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1338, allocations: 1.281 kB / 304.5 MB, free: 17.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.1338, allocations: 26.36 kB / 304.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1338, allocations: 0 / 304.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.134, allocations: 24.12 kB / 304.6 MB, free: 17.21 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.001382/0.1354, allocations: 0.5585 MB / 305.1 MB, free: 16.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.1355, allocations: 23.3 kB / 305.1 MB, free: 16.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1355, allocations: 9 kB / 305.1 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/0.1355, allocations: 14.17 kB / 305.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.1357, allocations: 28.66 kB / 305.2 MB, free: 16.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.136, allocations: 160.4 kB / 305.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.875e-05/0.136, allocations: 63.27 kB / 305.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.1361, allocations: 7.984 kB / 305.4 MB, free: 16.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1361, allocations: 63.89 kB / 305.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1361, allocations: 0 / 305.5 MB, free: 16.61 MB / 282.7 MB Notification: Performance of Templates: time 0.003708/0.1398, allocations: 1.527 MB / 307 MB, free: 16.42 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.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.0544475158676505]