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.001985/0.001985, allocations: 91.55 kB / 20.21 MB, free: 4.191 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.00307/0.00307, allocations: 157.3 kB / 23.52 MB, free: 0.8867 MB / 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 1.527/1.527, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2494/0.2494, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|t_new.y.2.|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.1.|t_new.y.2.|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.402e-06/1.402e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.135e-05, allocations: 6.25 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002287/0.002309, allocations: 1.585 MB / 348.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003321, allocations: 1.041 MB / 349.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.003367, allocations: 0 / 349.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.003591, allocations: 27.78 kB / 349.6 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.003772, allocations: 43.72 kB / 349.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.003975, allocations: 71.78 kB / 349.7 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.004093, allocations: 71.81 kB / 349.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.907e-05/0.004172, allocations: 12.19 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.004231, allocations: 35.89 kB / 349.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004335, allocations: 23.92 kB / 349.9 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.004354, allocations: 4 kB / 349.9 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.004456, allocations: 47.91 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.082e-05/0.004497, allocations: 23.86 kB / 349.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.004522, allocations: 12 kB / 349.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004685, allocations: 103.6 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004688, allocations: 0 / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004688, allocations: 0 / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.004692, allocations: 0 / 350 MB, free: 6.684 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.0003967/0.005089, allocations: 415.8 kB / 350.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.005118, allocations: 12.03 kB / 350.5 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.005171, allocations: 20.89 kB / 350.5 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.005328, allocations: 139.2 kB / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.00534, allocations: 4.375 kB / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.00536, allocations: 384 / 350.6 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.0055, allocations: 103.3 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.005515, allocations: 192 / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.005524, allocations: 7.938 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.005528, allocations: 0 / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.005611, allocations: 27.92 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.00588, allocations: 295.7 kB / 351 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.713e-05/0.005977, allocations: 62.98 kB / 351.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.006015, allocations: 19.62 kB / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.00604, allocations: 0 / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.00606, allocations: 45.45 kB / 351.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.006061, allocations: 0 / 351.2 MB, free: 5.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004873/0.006548, allocations: 157.5 kB / 351.3 MB, free: 5.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.006571, allocations: 77.11 kB / 351.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.006672, allocations: 204.6 kB / 351.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.006681, allocations: 29.7 kB / 351.6 MB, free: 4.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.00672, allocations: 146.8 kB / 351.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.00674, allocations: 23.81 kB / 351.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.006776, allocations: 35.36 kB / 351.8 MB, free: 4.695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.006846, allocations: 0.4961 MB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.0069, allocations: 16 kB / 352.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.006963, allocations: 69.06 kB / 352.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.007074, allocations: 59.88 kB / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.007075, allocations: 0 / 352.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001497/0.007224, allocations: 101.6 kB / 352.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.007236, allocations: 8 kB / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.00724, allocations: 0 / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.007254, allocations: 0 / 352.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.007337, allocations: 15.98 kB / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007343, allocations: 0 / 352.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.007389, allocations: 4 kB / 352.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.007398, allocations: 11.97 kB / 352.6 MB, free: 3.883 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 5.719e-05/0.007455, allocations: 164.5 kB / 352.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.007489, allocations: 23.89 kB / 352.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.007693, allocations: 102.5 kB / 352.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.007695, allocations: 0 / 352.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.0077, allocations: 4 kB / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.007704, allocations: 0 / 352.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.008044, allocations: 381.3 kB / 353.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.008046, allocations: 0 / 353.3 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.0081, allocations: 19.98 kB / 353.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.008101, allocations: 0 / 353.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.008109, allocations: 7.938 kB / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.00811, allocations: 0 / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008111, allocations: 0 / 353.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.008282, allocations: 247.8 kB / 353.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.008292, allocations: 11.94 kB / 353.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.008308, allocations: 4 kB / 353.5 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.008374, allocations: 4 kB / 353.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.008413, allocations: 3.984 kB / 353.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.008418, allocations: 4 kB / 353.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.065e-05/0.008479, allocations: 151.1 kB / 353.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008479, allocations: 4 kB / 353.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.008726, allocations: 27.92 kB / 353.7 MB, free: 2.672 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.002759/0.01149, allocations: 471.9 kB / 354.2 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01165, allocations: 63.59 kB / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01165, allocations: 0 / 354.3 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.01172, allocations: 47.67 kB / 354.3 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.01202, allocations: 17.61 kB / 354.3 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.01232, allocations: 190.4 kB / 354.5 MB, free: 1.961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.559e-05/0.01236, allocations: 79.27 kB / 354.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.01241, allocations: 12.72 kB / 354.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01245, allocations: 20.44 kB / 354.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01245, allocations: 0 / 354.6 MB, free: 1.828 MB / 282.7 MB Notification: Performance of Templates: time 0.003869/0.01632, allocations: 1.517 MB / 356.1 MB, free: 328 kB / 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.957346834940836]