Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001281/0.001281, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001992/0.003273, 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.001722/0.001722, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00194/0.003662, 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 1.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09017/1.126, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.2782/0.2782, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02762/0.3058, allocations: 12.53 MB / 289.3 MB, free: 8.672 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.312e-05, allocations: 3.438 kB / 290.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003931/0.003964, allocations: 1.747 MB / 292.4 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.005202, allocations: 0.5635 MB / 293 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.005286, allocations: 5.938 kB / 293 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.005548, allocations: 46.2 kB / 293 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005871, allocations: 93.86 kB / 293.1 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.006304, allocations: 134.4 kB / 293.2 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.006512, allocations: 90.38 kB / 293.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.006622, allocations: 11.48 kB / 293.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.006786, allocations: 64.38 kB / 293.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.006903, allocations: 31.91 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.006922, allocations: 4 kB / 293.4 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.007064, allocations: 55.91 kB / 293.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.007137, allocations: 11.94 kB / 293.5 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.234e-05/0.007169, allocations: 15.94 kB / 293.5 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.007401, allocations: 91.61 kB / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.099e-05/0.007422, allocations: 0 / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.007424, allocations: 0 / 293.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.007442, allocations: 4 kB / 293.6 MB, free: 5.297 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005428/0.007985, allocations: 328.6 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.008024, allocations: 8.031 kB / 293.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.008068, allocations: 8.938 kB / 293.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.00826, allocations: 142.1 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.008271, allocations: 384 / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.008298, allocations: 8.375 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.008449, allocations: 70.67 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.00846, allocations: 0 / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.008469, allocations: 0 / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.008475, allocations: 4 kB / 294.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.008516, allocations: 11.94 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.008808, allocations: 176.2 kB / 294.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.009128, allocations: 38.5 kB / 294.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.009155, allocations: 8.859 kB / 294.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.009186, allocations: 8.031 kB / 294.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.009213, allocations: 34.55 kB / 294.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.009215, allocations: 0 / 294.4 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007704/0.009985, allocations: 214.7 kB / 294.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.01002, allocations: 55.41 kB / 294.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.01017, allocations: 162.6 kB / 294.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01018, allocations: 25.7 kB / 294.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.01022, allocations: 92.11 kB / 295 MB, free: 3.797 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.01027, allocations: 43.61 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.01031, allocations: 25.7 kB / 295 MB, free: 3.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.01041, allocations: 330.8 kB / 295.4 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.01044, allocations: 15.92 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.01047, allocations: 8 kB / 295.4 MB, free: 3.367 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.01053, allocations: 38.58 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01054, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001197/0.01065, allocations: 65.67 kB / 295.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01067, allocations: 7.938 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01068, allocations: 0 / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01069, allocations: 4 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.0108, allocations: 27.92 kB / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.01081, allocations: 0 / 295.5 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.01085, allocations: 11.98 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.01086, allocations: 0 / 295.5 MB, free: 3.207 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 (11): * Single equations (assignments): 11 * 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 9.594e-05/0.01095, allocations: 124.6 kB / 295.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.01099, allocations: 7.984 kB / 295.7 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.01118, allocations: 96.22 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01118, allocations: 0 / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01118, allocations: 0 / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01119, allocations: 0 / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.01158, allocations: 280.3 kB / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.01159, allocations: 0 / 296 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.851e-05/0.01169, allocations: 27.92 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.0117, allocations: 7.953 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01171, allocations: 3.984 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.01172, allocations: 4 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.01172, allocations: 3.938 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01172, allocations: 0 / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.01191, allocations: 185.3 kB / 296.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.01193, allocations: 4 kB / 296.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.01201, allocations: 12.05 kB / 296.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.01207, allocations: 15.92 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01207, allocations: 4 kB / 296.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.557e-05/0.01214, allocations: 42.7 kB / 296.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01214, allocations: 0 / 296.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.01239, allocations: 27.92 kB / 296.4 MB, free: 2.309 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002155/0.01455, allocations: 0.6198 MB / 297 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.01472, allocations: 48.78 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/0.01473, allocations: 3.938 kB / 297 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.01478, allocations: 32.78 kB / 297.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.01511, allocations: 35.8 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.01588, allocations: 255 kB / 297.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.01594, allocations: 71.33 kB / 297.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.215e-05/0.01601, allocations: 12.48 kB / 297.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.01611, allocations: 75.36 kB / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.01611, allocations: 0 / 297.5 MB, free: 1.461 MB / 282.7 MB Notification: Performance of Templates: time 0.005996/0.0221, allocations: 1.69 MB / 299.2 MB, free: 15.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.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.041929348371923]