Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001494/0.001494, 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.001727/0.001727, allocations: 169.3 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.9464/0.9464, allocations: 158.6 MB / 186 MB, free: 2.773 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.126/0.126, allocations: 32.37 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.51e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.00315/0.003175, allocations: 1.593 MB / 300.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006437/0.003818, allocations: 319.4 kB / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.00387, allocations: 0 / 301 MB, free: 288 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.004126, allocations: 31.84 kB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.004324, allocations: 43.72 kB / 301 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.00454, allocations: 67.78 kB / 301.1 MB, free: 144 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.004695, allocations: 63.77 kB / 301.2 MB, free: 80 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.4e-05/0.004789, allocations: 11.98 kB / 301.2 MB, free: 68 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.004856, allocations: 23.92 kB / 301.2 MB, free: 44 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.004914, allocations: 15.92 kB / 301.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.004933, allocations: 3.984 kB / 301.2 MB, free: 24 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.132/0.1369, allocations: 25.81 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.894e-05/0.137, allocations: 12.8 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.548e-05/0.137, allocations: 11.02 kB / 301.3 MB, free: 19.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1373, allocations: 72.23 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1373, allocations: 5.156 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1373, allocations: 1.156 kB / 301.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1373, allocations: 0 / 301.4 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.0003467/0.1376, allocations: 277.3 kB / 301.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1377, allocations: 10.27 kB / 301.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.1377, allocations: 5.969 kB / 301.6 MB, free: 19.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1378, allocations: 140 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1378, allocations: 5.312 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1379, allocations: 2.781 kB / 301.8 MB, free: 18.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.138, allocations: 53.22 kB / 301.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.138, allocations: 1.125 kB / 301.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.138, allocations: 4.891 kB / 301.8 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.138, allocations: 5.062 kB / 301.9 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.745e-05/0.138, allocations: 8.625 kB / 301.9 MB, free: 18.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1382, allocations: 161.8 kB / 302 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1384, allocations: 32.89 kB / 302 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.1384, allocations: 7.953 kB / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.1384, allocations: 2.484 kB / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.1384, allocations: 33.72 kB / 302.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.1384, allocations: 0 / 302.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002892/0.1387, allocations: 85.33 kB / 302.2 MB, free: 18.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1388, allocations: 55.56 kB / 302.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.1388, allocations: 156.9 kB / 302.4 MB, free: 18.4 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.1389, allocations: 26.83 kB / 302.4 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.1389, allocations: 90.16 kB / 302.5 MB, free: 18.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1389, allocations: 18.17 kB / 302.5 MB, free: 18.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.1389, allocations: 15.64 kB / 302.5 MB, free: 18.26 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.139, allocations: 322.4 kB / 302.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.454e-05/0.139, allocations: 3.578 kB / 302.8 MB, free: 17.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.139, allocations: 5.406 kB / 302.9 MB, free: 17.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.139, allocations: 21.64 kB / 302.9 MB, free: 17.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.139, allocations: 0.5938 kB / 302.9 MB, free: 17.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.002e-05/0.1391, allocations: 47.86 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1391, allocations: 11.28 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1391, allocations: 0 / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1391, allocations: 2 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.1392, allocations: 11.78 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.1392, allocations: 4.125 kB / 303 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.1392, allocations: 2.703 kB / 303 MB, free: 17.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1392, allocations: 1.188 kB / 303 MB, free: 17.91 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.759e-05/0.1393, allocations: 117 kB / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1393, allocations: 10.84 kB / 303.1 MB, free: 17.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1394, allocations: 67.56 kB / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1394, allocations: 3.078 kB / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1394, allocations: 0 / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1394, allocations: 1.828 kB / 303.2 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.1396, allocations: 209.8 kB / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1396, allocations: 0.5625 kB / 303.4 MB, free: 17.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.1396, allocations: 18.19 kB / 303.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1396, allocations: 1.719 kB / 303.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.1396, allocations: 1.562 kB / 303.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1396, allocations: 0 / 303.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1396, allocations: 0.6094 kB / 303.4 MB, free: 17.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.1397, allocations: 142.5 kB / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.1397, allocations: 9.828 kB / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1397, allocations: 5.5 kB / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.1398, allocations: 3.609 kB / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.1398, allocations: 8.484 kB / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1398, allocations: 0 / 303.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.332e-05/0.1399, allocations: 41.34 kB / 303.6 MB, free: 17.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1399, allocations: 0 / 303.6 MB, free: 17.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.1401, allocations: 14.81 kB / 303.6 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.001241/0.1413, allocations: 0.4999 MB / 304.1 MB, free: 17.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.1414, allocations: 24.23 kB / 304.1 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1414, allocations: 1 kB / 304.1 MB, free: 17.15 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.1414, allocations: 22.66 kB / 304.1 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1416, allocations: 14.86 kB / 304.2 MB, free: 17.14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.1419, allocations: 173.7 kB / 304.3 MB, free: 16.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.142, allocations: 63.53 kB / 304.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.817e-05/0.142, allocations: 10.02 kB / 304.4 MB, free: 16.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.1421, allocations: 57.64 kB / 304.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1421, allocations: 0 / 304.5 MB, free: 16.87 MB / 282.7 MB Notification: Performance of Templates: time 0.003603/0.1457, allocations: 1.218 MB / 305.7 MB, free: 16.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.007133554201573]