Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001477/0.001477, allocations: 80.06 kB / 20.72 MB, free: 3.762 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.001637/0.001637, allocations: 169 kB / 24.14 MB, free: 352 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.953/0.953, allocations: 158.6 MB / 186 MB, free: 1.957 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.1617/0.1617, allocations: 32.38 MB / 270.7 MB, free: 14.51 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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 299.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.324e-05, allocations: 2.312 kB / 299.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002515/0.002539, allocations: 1.64 MB / 300.8 MB, free: 420 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005454/0.003084, allocations: 315.4 kB / 301.1 MB, free: 100 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.003137, allocations: 4 kB / 301.1 MB, free: 96 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.003409, allocations: 79.64 kB / 301.1 MB, free: 16 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1302/0.1336, allocations: 55.25 kB / 301.2 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1339, allocations: 70.12 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.134, allocations: 72.34 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.1341, allocations: 8.219 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.136e-05/0.1342, allocations: 41.58 kB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.1343, allocations: 42.19 kB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.1343, allocations: 3.156 kB / 301.4 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.782e-05/0.1344, allocations: 31.14 kB / 301.5 MB, free: 19.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.1344, allocations: 22.17 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.1345, allocations: 15.97 kB / 301.5 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1346, allocations: 75.56 kB / 301.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.1346, allocations: 1.125 kB / 301.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1346, allocations: 0 / 301.6 MB, free: 19.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1346, allocations: 0 / 301.6 MB, free: 19.27 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.0002563/0.1349, allocations: 302 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1349, allocations: 9.156 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.1349, allocations: 7.812 kB / 301.9 MB, free: 19 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.135, allocations: 136.5 kB / 302 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.1351, allocations: 6.5 kB / 302 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.1351, allocations: 4.062 kB / 302 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.557e-05/0.1351, allocations: 53.33 kB / 302.1 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1351, allocations: 192 / 302.1 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.1352, allocations: 4.188 kB / 302.1 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1352, allocations: 3.938 kB / 302.1 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.1352, allocations: 9.547 kB / 302.1 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.1354, allocations: 161.1 kB / 302.3 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1355, allocations: 32.05 kB / 302.3 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.1355, allocations: 8.641 kB / 302.3 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1355, allocations: 5.938 kB / 302.3 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1356, allocations: 36.7 kB / 302.3 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.1356, allocations: 4.25 kB / 302.3 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002407/0.1358, allocations: 86.02 kB / 302.4 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.1358, allocations: 53.53 kB / 302.5 MB, free: 18.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.1359, allocations: 166.6 kB / 302.6 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-06/0.1359, allocations: 30.52 kB / 302.7 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.1359, allocations: 92.75 kB / 302.8 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.136, allocations: 15.58 kB / 302.8 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.136, allocations: 22.22 kB / 302.8 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.174e-05/0.136, allocations: 321 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.136, allocations: 3.375 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.136, allocations: 4.859 kB / 303.1 MB, free: 17.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.1361, allocations: 18.39 kB / 303.1 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1361, allocations: 0.9062 kB / 303.1 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.754e-05/0.1361, allocations: 54.36 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1361, allocations: 9.625 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1361, allocations: 1.734 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1361, allocations: 2.562 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.1362, allocations: 10.39 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1362, allocations: 1.484 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.707e-05/0.1362, allocations: 3.469 kB / 303.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1362, allocations: 5.609 kB / 303.2 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 3.618e-05/0.1362, allocations: 115.2 kB / 303.3 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1363, allocations: 20.83 kB / 303.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.132e-05/0.1363, allocations: 55.22 kB / 303.4 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1363, allocations: 0.6094 kB / 303.4 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1363, allocations: 1.156 kB / 303.4 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1364, allocations: 0.7031 kB / 303.4 MB, free: 17.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.1365, allocations: 214.1 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1365, allocations: 0.6562 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.1365, allocations: 14.81 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1365, allocations: 2.688 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.1366, allocations: 1.188 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1366, allocations: 2.609 kB / 303.6 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1366, allocations: 4.906 kB / 303.7 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.707e-05/0.1366, allocations: 144.3 kB / 303.8 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.1366, allocations: 13.12 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1366, allocations: 3.219 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.1367, allocations: 2.734 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.1367, allocations: 5.297 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1367, allocations: 4.344 kB / 303.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.1367, allocations: 50.83 kB / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1367, allocations: 0 / 303.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.1369, allocations: 14.67 kB / 303.9 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.0009961/0.1379, allocations: 0.4942 MB / 304.4 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.861e-05/0.1379, allocations: 23.56 kB / 304.4 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1379, allocations: 1.188 kB / 304.4 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.828e-05/0.138, allocations: 26.92 kB / 304.4 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.1381, allocations: 14.39 kB / 304.4 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.1384, allocations: 192.2 kB / 304.6 MB, free: 16.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.1384, allocations: 68.97 kB / 304.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1384, allocations: 5.797 kB / 304.7 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1385, allocations: 57.44 kB / 304.8 MB, free: 16.83 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1385, allocations: 1.094 kB / 304.8 MB, free: 16.83 MB / 282.7 MB Notification: Performance of Templates: time 0.003035/0.1415, allocations: 1.237 MB / 306 MB, free: 16.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.0322638107463717]