Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0009618/0.0009618, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001074/0.001074, allocations: 165 kB / 23.8 MB, free: 0.7695 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.092/1.092, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1505/0.1505, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 3.938 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.212e-05, allocations: 10.25 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001862/0.001884, allocations: 1.606 MB / 349.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004438/0.002328, allocations: 311.5 kB / 349.6 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.002379, allocations: 4 kB / 349.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.002605, allocations: 31.84 kB / 349.6 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.002786, allocations: 35.73 kB / 349.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001868/0.002973, allocations: 71.77 kB / 349.7 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.003114, allocations: 55.84 kB / 349.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.003224, allocations: 15.92 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.804e-05/0.003282, allocations: 27.91 kB / 349.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.003342, allocations: 15.92 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.00336, allocations: 0 / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.003427, allocations: 31.98 kB / 349.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.003475, allocations: 8 kB / 349.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.003505, allocations: 15.92 kB / 349.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.003656, allocations: 67.75 kB / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003659, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.00366, allocations: 0 / 350 MB, free: 7.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.003666, allocations: 0 / 350 MB, free: 7.148 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.0004007/0.004066, allocations: 412.1 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.004114, allocations: 8.031 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.004164, allocations: 8.891 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.0043, allocations: 140.4 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.004311, allocations: 384 / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.004334, allocations: 8.375 kB / 350.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.004453, allocations: 50.95 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.004464, allocations: 4.188 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.004474, allocations: 4.125 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.004484, allocations: 3.984 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.004517, allocations: 7.938 kB / 350.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.0048, allocations: 271.8 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.004977, allocations: 47.05 kB / 350.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.254e-05/0.005, allocations: 11.77 kB / 350.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.005025, allocations: 11.94 kB / 350.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.005043, allocations: 37.33 kB / 351 MB, free: 6.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.005045, allocations: 0 / 351 MB, free: 6.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003446/0.005389, allocations: 97.47 kB / 351.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.005419, allocations: 55.34 kB / 351.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/0.005505, allocations: 196.2 kB / 351.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.005511, allocations: 29.7 kB / 351.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.005547, allocations: 146.8 kB / 351.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.005569, allocations: 11.91 kB / 351.5 MB, free: 5.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.005593, allocations: 19.38 kB / 351.5 MB, free: 5.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.005644, allocations: 0.4923 MB / 352 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.005658, allocations: 8 kB / 352 MB, free: 4.902 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.005671, allocations: 11.98 kB / 352 MB, free: 4.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.005702, allocations: 23.88 kB / 352 MB, free: 4.863 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005703, allocations: 0 / 352 MB, free: 4.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.419e-05/0.005777, allocations: 65.52 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.00579, allocations: 4 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005796, allocations: 0 / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.005808, allocations: 4 kB / 352.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.36e-05/0.005842, allocations: 8 kB / 352.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.005847, allocations: 3.938 kB / 352.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.005864, allocations: 11.98 kB / 352.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.00587, allocations: 4 kB / 352.1 MB, free: 4.758 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.891e-05/0.005909, allocations: 152.6 kB / 352.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.005923, allocations: 11.89 kB / 352.3 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.006011, allocations: 70.09 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.006013, allocations: 0 / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.006017, allocations: 3.984 kB / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.00602, allocations: 0 / 352.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.006176, allocations: 317.4 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006177, allocations: 0 / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.006198, allocations: 12 kB / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.0062, allocations: 0 / 352.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.006207, allocations: 3.984 kB / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006207, allocations: 0 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006208, allocations: 192 / 352.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.871e-05/0.006277, allocations: 219.8 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.006282, allocations: 3.953 kB / 352.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.006294, allocations: 4 kB / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.663e-05/0.00632, allocations: 0 / 352.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.006356, allocations: 7.984 kB / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.006359, allocations: 0 / 352.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.006396, allocations: 153.7 kB / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006396, allocations: 0 / 353.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001504/0.006546, allocations: 15.94 kB / 353.1 MB, free: 3.727 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.0007294/0.007276, allocations: 383 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.007365, allocations: 31.61 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007367, allocations: 4 kB / 353.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.007385, allocations: 15.69 kB / 353.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.007583, allocations: 23.86 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.007866, allocations: 162 kB / 353.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.653e-05/0.007892, allocations: 59.34 kB / 353.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.007918, allocations: 19.97 kB / 353.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.007943, allocations: 16.44 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007943, allocations: 0 / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of Templates: time 0.002698/0.01064, allocations: 1.225 MB / 355 MB, free: 1.848 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.3610854796133935]