Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0009725/0.0009725, 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.001061/0.001061, 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.8916/0.8916, allocations: 158.6 MB / 186 MB, free: 2.285 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.1363/0.1363, allocations: 32.38 MB / 270.7 MB, free: 14.55 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 299.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.424e-05, allocations: 2.312 kB / 299.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003054/0.003078, allocations: 1.648 MB / 300.8 MB, free: 460 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1474/0.1505, allocations: 1.067 MB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.82e-05/0.1505, allocations: 3.938 kB / 301.8 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.1508, allocations: 28.41 kB / 301.9 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1509, allocations: 43.05 kB / 301.9 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.1512, allocations: 77.03 kB / 302 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.1513, allocations: 68.2 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.1514, allocations: 13.84 kB / 302.1 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.1515, allocations: 32.34 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1516, allocations: 25.8 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1516, allocations: 4.062 kB / 302.1 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1517, allocations: 51.52 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1517, allocations: 15.56 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1518, allocations: 13.09 kB / 302.2 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.152, allocations: 94.52 kB / 302.3 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.152, allocations: 0.5625 kB / 302.3 MB, free: 19.19 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.152, allocations: 0 / 302.3 MB, free: 19.19 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.152, allocations: 0 / 302.3 MB, free: 19.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003039/0.1523, allocations: 287.1 kB / 302.6 MB, free: 18.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1523, allocations: 10.36 kB / 302.6 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1523, allocations: 7.219 kB / 302.6 MB, free: 18.93 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1525, allocations: 132.4 kB / 302.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1525, allocations: 2.656 kB / 302.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1525, allocations: 3.188 kB / 302.7 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.1526, allocations: 105.5 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1526, allocations: 6.859 kB / 302.8 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1526, allocations: 9.828 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1526, allocations: 3.156 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.1527, allocations: 11.89 kB / 302.9 MB, free: 18.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.1529, allocations: 171.6 kB / 303 MB, free: 18.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.1529, allocations: 37.55 kB / 303.1 MB, free: 18.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.153, allocations: 9.859 kB / 303.1 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.153, allocations: 2.531 kB / 303.1 MB, free: 18.51 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.153, allocations: 41.38 kB / 303.1 MB, free: 18.47 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.946e-06/0.153, allocations: 0.5625 kB / 303.1 MB, free: 18.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003206/0.1533, allocations: 101 kB / 303.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.1534, allocations: 79.08 kB / 303.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.613e-05/0.1534, allocations: 144.3 kB / 303.4 MB, free: 18.22 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-06/0.1535, allocations: 30.36 kB / 303.5 MB, free: 18.19 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.1535, allocations: 88.81 kB / 303.6 MB, free: 18.11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1535, allocations: 28.44 kB / 303.6 MB, free: 18.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.1535, allocations: 24.41 kB / 303.6 MB, free: 18.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.047e-05/0.1536, allocations: 321.9 kB / 303.9 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.1536, allocations: 6.406 kB / 303.9 MB, free: 17.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.1536, allocations: 51.27 kB / 304 MB, free: 17.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.161e-05/0.1537, allocations: 28.05 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1537, allocations: 0.6562 kB / 304 MB, free: 17.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.444e-05/0.1537, allocations: 60.7 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1538, allocations: 6.156 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1538, allocations: 1.625 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1538, allocations: 0.5312 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1539, allocations: 22.66 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1539, allocations: 1.688 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.1539, allocations: 4.094 kB / 304.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.1539, allocations: 2.719 kB / 304.1 MB, free: 17.66 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 (8): * Single equations (assignments): 8 * 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 6.919e-05/0.154, allocations: 117.4 kB / 304.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.154, allocations: 10.28 kB / 304.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1541, allocations: 68.02 kB / 304.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1541, allocations: 0.9688 kB / 304.3 MB, free: 17.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1541, allocations: 10.39 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1541, allocations: 3.438 kB / 304.3 MB, free: 17.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.1544, allocations: 236.6 kB / 304.5 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1544, allocations: 0 / 304.5 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.1544, allocations: 16 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1544, allocations: 0.75 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.1544, allocations: 1.094 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1544, allocations: 1.188 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1544, allocations: 4.5 kB / 304.6 MB, free: 17.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.666e-05/0.1545, allocations: 166.9 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.1545, allocations: 2.828 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1545, allocations: 1.547 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.1546, allocations: 3.719 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1546, allocations: 5.312 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.1546, allocations: 5.891 kB / 304.7 MB, free: 17.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.829e-05/0.1547, allocations: 30.7 kB / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1547, allocations: 0 / 304.8 MB, free: 17.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.1548, allocations: 26.48 kB / 304.8 MB, free: 17.15 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 (8): * Single equations (assignments): 8 * 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.001251/0.1561, allocations: 0.5514 MB / 305.4 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.1562, allocations: 35.45 kB / 305.4 MB, free: 16.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1562, allocations: 1.25 kB / 305.4 MB, free: 16.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.1563, allocations: 22.05 kB / 305.4 MB, free: 16.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1565, allocations: 29.23 kB / 305.4 MB, free: 16.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000327/0.1568, allocations: 183.3 kB / 305.6 MB, free: 16.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.1568, allocations: 61.55 kB / 305.7 MB, free: 16.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1569, allocations: 22.91 kB / 305.7 MB, free: 16.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.157, allocations: 65.75 kB / 305.8 MB, free: 16.55 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.157, allocations: 0 / 305.8 MB, free: 16.55 MB / 282.7 MB Notification: Performance of Templates: time 0.004709/0.1617, allocations: 1.631 MB / 307.4 MB, free: 16.34 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.9175664726644754]