Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.0008959/0.0008959, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.002057, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007095/0.0007095, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009242/0.001634, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9945/0.9945, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09766/1.092, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.2756/0.2756, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02768/0.3033, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.657e-05, allocations: 8.141 kB / 290.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002557/0.002584, allocations: 1.688 MB / 292.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.003509, allocations: 0.5645 MB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.003589, allocations: 1.344 kB / 292.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.003855, allocations: 103.4 kB / 293 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002774/0.004133, allocations: 124 kB / 293.1 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.004508, allocations: 113.5 kB / 293.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.004758, allocations: 92.53 kB / 293.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004881, allocations: 17.47 kB / 293.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.005015, allocations: 71.88 kB / 293.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.005161, allocations: 63.86 kB / 293.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.005181, allocations: 0 / 293.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.005299, allocations: 51.86 kB / 293.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.005353, allocations: 19.94 kB / 293.5 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.005386, allocations: 11.94 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005589, allocations: 95.59 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.691e-05/0.005616, allocations: 0 / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.005618, allocations: 4 kB / 293.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.005641, allocations: 0 / 293.6 MB, free: 5.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000883/0.006524, allocations: 348.4 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.006566, allocations: 12.03 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.006604, allocations: 4.938 kB / 294 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.006769, allocations: 158.3 kB / 294.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.00678, allocations: 4.375 kB / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.006798, allocations: 384 / 294.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.00694, allocations: 62.94 kB / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.006954, allocations: 192 / 294.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.006963, allocations: 4.125 kB / 294.2 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.006969, allocations: 4 kB / 294.2 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.006999, allocations: 8 kB / 294.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.007277, allocations: 190.9 kB / 294.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.228e-05/0.00734, allocations: 29.47 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.007356, allocations: 8.859 kB / 294.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.007384, allocations: 4 kB / 294.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.007412, allocations: 42.58 kB / 294.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.007413, allocations: 0 / 294.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005567/0.00797, allocations: 141.4 kB / 294.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.008008, allocations: 51.41 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.008152, allocations: 197.6 kB / 294.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.008165, allocations: 29.7 kB / 294.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.008208, allocations: 104 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.008236, allocations: 19.81 kB / 295 MB, free: 3.734 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.008268, allocations: 25.69 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.008359, allocations: 326.8 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.461e-05/0.008374, allocations: 4 kB / 295.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.621e-05/0.00839, allocations: 12.06 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.008432, allocations: 31.66 kB / 295.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008434, allocations: 3.938 kB / 295.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.746e-05/0.008511, allocations: 65.56 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.008527, allocations: 4 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.008533, allocations: 3.984 kB / 295.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.008544, allocations: 4 kB / 295.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.00862, allocations: 12 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.008625, allocations: 4 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.008646, allocations: 7.984 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.00865, allocations: 0 / 295.5 MB, free: 3.215 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.982e-05/0.00872, allocations: 128.6 kB / 295.7 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.008739, allocations: 11.92 kB / 295.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.008869, allocations: 75.08 kB / 295.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.008871, allocations: 0 / 295.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.008873, allocations: 0 / 295.7 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.008879, allocations: 4.406 kB / 295.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.009137, allocations: 255.5 kB / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.009139, allocations: 0 / 296 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.903e-05/0.009188, allocations: 23.98 kB / 296 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.009199, allocations: 15.94 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.009204, allocations: 3.984 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.00921, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.009211, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.009213, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.009321, allocations: 168.6 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.009335, allocations: 4 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.009373, allocations: 7.984 kB / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.009406, allocations: 0 / 296.2 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.009412, allocations: 7.984 kB / 296.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.00947, allocations: 61.42 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00947, allocations: 4 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.009628, allocations: 20 kB / 296.3 MB, free: 2.375 MB / 282.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.001838/0.01147, allocations: 0.644 MB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01158, allocations: 32.78 kB / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.01158, allocations: 0 / 297 MB, free: 2.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.01161, allocations: 28.77 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01181, allocations: 31.23 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01235, allocations: 242.6 kB / 297.3 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.934e-05/0.0124, allocations: 71.33 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.01244, allocations: 17.09 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.01251, allocations: 67.34 kB / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01251, allocations: 0 / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of Templates: time 0.003554/0.01607, allocations: 1.547 MB / 299 MB, free: 20 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.9795619882643223]