Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001604/0.001604, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00199/0.00199, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 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.2217/0.2217, allocations: 44.91 MB / 359.6 MB, free: 6.297 MB / 286.1 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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 71.89 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3017, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003103/0.3048, allocations: 1.674 MB / 0.5599 GB, free: 6.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3059, allocations: 0.5699 MB / 0.5605 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.306, allocations: 8 kB / 0.5605 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.3062, allocations: 95.67 kB / 0.5606 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.3065, allocations: 111.6 kB / 0.5607 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3069, allocations: 119.7 kB / 0.5608 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3071, allocations: 95.75 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3073, allocations: 27.62 kB / 0.5609 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/0.3074, allocations: 43.84 kB / 0.5609 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3075, allocations: 75.67 kB / 0.561 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3075, allocations: 4 kB / 0.561 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.3076, allocations: 47.92 kB / 0.5611 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.3077, allocations: 31.91 kB / 0.5611 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.3077, allocations: 47.67 kB / 0.5611 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3079, allocations: 130.1 kB / 0.5613 GB, free: 4.645 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3079, allocations: 0 / 0.5613 GB, free: 4.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3079, allocations: 4 kB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.308, allocations: 0 / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005833/0.3085, allocations: 365.5 kB / 0.5616 GB, free: 4.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3086, allocations: 8.031 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.3086, allocations: 12.84 kB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.3088, allocations: 158.8 kB / 0.5618 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3088, allocations: 4.375 kB / 0.5618 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3089, allocations: 8.375 kB / 0.5618 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3091, allocations: 81.16 kB / 0.5619 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3091, allocations: 11.89 kB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3091, allocations: 0 / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3091, allocations: 0 / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3092, allocations: 43.97 kB / 0.5619 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.3097, allocations: 311.8 kB / 0.5622 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3099, allocations: 70.48 kB / 0.5623 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.3099, allocations: 24.84 kB / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3099, allocations: 0 / 0.5623 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.31, allocations: 30.56 kB / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.31, allocations: 0 / 0.5624 GB, free: 3.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001135/0.3111, allocations: 341.7 kB / 0.5627 GB, free: 3.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.3112, allocations: 59.34 kB / 0.5627 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3114, allocations: 239.6 kB / 0.563 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3114, allocations: 29.7 kB / 0.563 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/0.3115, allocations: 112 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.3116, allocations: 43.64 kB / 0.5631 GB, free: 2.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3116, allocations: 29.72 kB / 0.5632 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3118, allocations: 326.8 kB / 0.5635 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3119, allocations: 47.95 kB / 0.5635 GB, free: 2.148 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.312, allocations: 47.97 kB / 0.5636 GB, free: 2.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3122, allocations: 100.8 kB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3122, allocations: 0 / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002918/0.3125, allocations: 169 kB / 0.5638 GB, free: 1.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3125, allocations: 4 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3125, allocations: 0 / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3125, allocations: 3.938 kB / 0.5638 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3127, allocations: 27.98 kB / 0.5639 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.3127, allocations: 4 kB / 0.5639 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.3127, allocations: 11.92 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.3127, allocations: 8 kB / 0.5639 GB, free: 1.773 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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.000121/0.3128, allocations: 141.8 kB / 0.564 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.3129, allocations: 15.91 kB / 0.564 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.3133, allocations: 194.8 kB / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3133, allocations: 4 kB / 0.5642 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3133, allocations: 0 / 0.5642 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3133, allocations: 3.984 kB / 0.5642 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.314, allocations: 474.1 kB / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.314, allocations: 0 / 0.5647 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3141, allocations: 31.92 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3141, allocations: 0 / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3141, allocations: 7.984 kB / 0.5647 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3141, allocations: 4 kB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3141, allocations: 0 / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.3145, allocations: 256.2 kB / 0.565 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3145, allocations: 15.91 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.3146, allocations: 0 / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3146, allocations: 11.98 kB / 0.565 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.3147, allocations: 11.92 kB / 0.565 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3147, allocations: 4 kB / 0.565 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.3149, allocations: 189.1 kB / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3149, allocations: 0 / 0.5652 GB, free: 356 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3151, allocations: 27.94 kB / 0.5652 GB, free: 328 kB / 398.1 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 (13): * Single equations (assignments): 13 * 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.001756/0.3169, allocations: 470.6 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.3172, allocations: 111.8 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3172, allocations: 4 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3173, allocations: 55.91 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3177, allocations: 27.83 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.3184, allocations: 365.4 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3188, allocations: 0.7197 MB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.3188, allocations: 19.42 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3188, allocations: 0 / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of Templates: time 0.004383/0.3232, allocations: 2.167 MB / 0.569 GB, free: 12.52 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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: 7.88206526893191]