Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.00143/0.00143, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001765/0.001765, allocations: 169.3 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3807/0.3807, allocations: 32.8 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.912e-05/4.165e-05, allocations: 6.25 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.005/0.005041, allocations: 1.633 MB / 376.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.007018, allocations: 0.5298 MB / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.007086, allocations: 0 / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.007502, allocations: 79.7 kB / 377.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.007954, allocations: 99.52 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.008464, allocations: 115.7 kB / 377.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.008742, allocations: 95.67 kB / 377.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.008874, allocations: 8 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.009021, allocations: 47.88 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.009206, allocations: 47.89 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.009235, allocations: 4 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.009419, allocations: 51.91 kB / 378 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.009504, allocations: 19.92 kB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.009559, allocations: 15.94 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.009877, allocations: 111.5 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.009887, allocations: 4 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.009889, allocations: 0 / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.009894, allocations: 0 / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007984/0.01069, allocations: 341.6 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.01075, allocations: 8.031 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.01083, allocations: 16.84 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.01116, allocations: 138.3 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.01119, allocations: 8.375 kB / 378.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.01123, allocations: 4.375 kB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01147, allocations: 62.17 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.01148, allocations: 192 / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.0115, allocations: 4.125 kB / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.01151, allocations: 0 / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.01168, allocations: 27.97 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.01229, allocations: 244.5 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.01248, allocations: 46.5 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.36e-05/0.01257, allocations: 24.81 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.0126, allocations: 4 kB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/0.01265, allocations: 34.56 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.01266, allocations: 0 / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001563/0.01422, allocations: 237.2 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.01427, allocations: 59.39 kB / 379.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.01453, allocations: 226.6 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.01456, allocations: 25.7 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.01464, allocations: 104.1 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.01468, allocations: 23.75 kB / 379.7 MB, free: 336 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.01473, allocations: 29.7 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.01493, allocations: 326.8 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.01502, allocations: 27.98 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.01511, allocations: 27.97 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.01529, allocations: 81.11 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.01529, allocations: 0 / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002573/0.01555, allocations: 121.5 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.01556, allocations: 4 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01557, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.01559, allocations: 3.938 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.0157, allocations: 19.98 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01571, allocations: 0 / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.01575, allocations: 8 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.01576, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.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 0.0001329/0.01589, allocations: 129.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.01594, allocations: 20.33 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.01627, allocations: 135 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01627, allocations: 0 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.01628, allocations: 0 / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01629, allocations: 3.984 kB / 380.6 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.01688, allocations: 362.9 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01688, allocations: 3.938 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.01696, allocations: 15.98 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.01697, allocations: 4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01698, allocations: 4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01698, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01698, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.01732, allocations: 228.2 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01734, allocations: 11.94 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.01736, allocations: 4 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.01743, allocations: 0 / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.01748, allocations: 11.92 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01749, allocations: 8 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.01766, allocations: 160.2 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01766, allocations: 0 / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.01793, allocations: 19.94 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002223/0.02016, allocations: 493.3 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.02041, allocations: 79.88 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02041, allocations: 0 / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.02051, allocations: 43.92 kB / 382.1 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.02084, allocations: 18.33 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.02145, allocations: 277.4 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.02156, allocations: 88.81 kB / 382.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.02163, allocations: 20.78 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.02168, allocations: 24.48 kB / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02168, allocations: 0 / 382.5 MB, free: 13.63 MB / 362.7 MB Notification: Performance of Templates: time 0.004751/0.02643, allocations: 1.405 MB / 383.9 MB, free: 12.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test34.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.835468290024437]