Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001166/0.001166, allocations: 79.92 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.001395/0.001395, 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.913/0.913, allocations: 158.6 MB / 186 MB, free: 2.77 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.1239/0.1239, 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.CombiTable1Ds.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.91e-07/9.91e-07, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.436e-06/9.427e-06, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002095/0.002104, allocations: 1.6 MB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005188/0.002623, allocations: 315.4 kB / 301 MB, free: 284 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.002667, allocations: 0 / 301 MB, free: 284 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.002887, allocations: 79.72 kB / 301.1 MB, free: 204 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.003065, allocations: 67.67 kB / 301.1 MB, free: 136 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.003232, allocations: 63.78 kB / 301.2 MB, free: 72 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.00334, allocations: 67.83 kB / 301.3 MB, free: 4 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1371/0.1405, allocations: 8.406 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1406, allocations: 31.08 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1407, allocations: 39.25 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1408, allocations: 2.562 kB / 301.3 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1409, allocations: 33.53 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.1409, allocations: 18.22 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.141, allocations: 14.3 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1411, allocations: 72.89 kB / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1412, allocations: 0.875 kB / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1412, allocations: 0 / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1412, allocations: 1.031 kB / 301.5 MB, free: 19.29 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.0003018/0.1415, allocations: 295.9 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.1415, allocations: 10.03 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.1415, allocations: 6.562 kB / 301.8 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1416, allocations: 143.2 kB / 301.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1417, allocations: 1.625 kB / 301.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1417, allocations: 7.688 kB / 301.9 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.1418, allocations: 50.56 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1418, allocations: 192 / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1418, allocations: 1.625 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1418, allocations: 3.938 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.1418, allocations: 12.8 kB / 302 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.142, allocations: 162.8 kB / 302.1 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.1421, allocations: 28.25 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.1421, allocations: 9.469 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.1421, allocations: 4.219 kB / 302.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1422, allocations: 37.02 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.1422, allocations: 0.5938 kB / 302.2 MB, free: 18.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002392/0.1424, allocations: 81.14 kB / 302.3 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/0.1424, allocations: 53.36 kB / 302.4 MB, free: 18.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.1425, allocations: 163.5 kB / 302.5 MB, free: 18.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.1425, allocations: 27.55 kB / 302.5 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.1425, allocations: 97.67 kB / 302.6 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1426, allocations: 18.67 kB / 302.7 MB, free: 18.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.1426, allocations: 19.52 kB / 302.7 MB, free: 18.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.1426, allocations: 321.6 kB / 303 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.217e-06/0.1426, allocations: 3.969 kB / 303 MB, free: 17.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.1426, allocations: 5.344 kB / 303 MB, free: 17.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.1427, allocations: 25.38 kB / 303 MB, free: 17.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1427, allocations: 0.7969 kB / 303 MB, free: 17.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.347e-05/0.1427, allocations: 50.86 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.1427, allocations: 8.719 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1427, allocations: 2.016 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1427, allocations: 2.062 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.169e-05/0.1428, allocations: 10.78 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.1428, allocations: 2.25 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1428, allocations: 2.797 kB / 303.1 MB, free: 17.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1428, allocations: 3.906 kB / 303.1 MB, free: 17.9 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.666e-05/0.1428, allocations: 118.1 kB / 303.2 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.1428, allocations: 10.34 kB / 303.2 MB, free: 17.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.1429, allocations: 63.2 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1429, allocations: 0 / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.1429, allocations: 4.656 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1429, allocations: 0.6094 kB / 303.3 MB, free: 17.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1431, allocations: 211.6 kB / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1431, allocations: 0 / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.1431, allocations: 14.22 kB / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1431, allocations: 1.312 kB / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.1431, allocations: 0 / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1431, allocations: 1.562 kB / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1431, allocations: 0 / 303.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.389e-05/0.1431, allocations: 149.5 kB / 303.7 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.1432, allocations: 11.89 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.1432, allocations: 1.844 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.836e-05/0.1432, allocations: 3.172 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.1432, allocations: 3.5 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.1432, allocations: 1.828 kB / 303.7 MB, free: 17.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.685e-05/0.1433, allocations: 45.22 kB / 303.7 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1433, allocations: 1.062 kB / 303.7 MB, free: 17.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.1434, allocations: 19.05 kB / 303.8 MB, free: 17.41 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.0009131/0.1443, allocations: 0.506 MB / 304.3 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.355e-05/0.1444, allocations: 27.72 kB / 304.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1444, allocations: 1.062 kB / 304.3 MB, free: 17.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.1444, allocations: 14 kB / 304.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.1445, allocations: 19.41 kB / 304.3 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.1447, allocations: 195.2 kB / 304.5 MB, free: 16.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.1448, allocations: 63.34 kB / 304.6 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.529e-05/0.1448, allocations: 9.906 kB / 304.6 MB, free: 16.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.1448, allocations: 58.22 kB / 304.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1448, allocations: 0 / 304.6 MB, free: 16.84 MB / 282.7 MB Notification: Performance of Templates: time 0.002875/0.1477, allocations: 1.235 MB / 305.9 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.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.8090143580920994]