Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.00173/0.00173, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002175/0.002175, allocations: 209 kB / 24.47 MB, free: 3.941 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2296/0.2296, allocations: 44.93 MB / 359.6 MB, free: 6.031 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [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.002383/0.002383, allocations: 67.91 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3646, allocations: 65.46 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003353/0.3679, allocations: 1.605 MB / 0.5598 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3691, allocations: 0.5115 MB / 0.5603 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.3691, allocations: 7.938 kB / 0.5603 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.3693, allocations: 27.84 kB / 0.5603 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.3697, allocations: 75.62 kB / 0.5604 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.3699, allocations: 83.77 kB / 0.5604 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.3701, allocations: 67.77 kB / 0.5605 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3702, allocations: 11.98 kB / 0.5605 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.3703, allocations: 23.92 kB / 0.5605 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.3703, allocations: 23.8 kB / 0.5606 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3703, allocations: 4 kB / 0.5606 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-05/0.3704, allocations: 31.98 kB / 0.5606 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.3705, allocations: 19.92 kB / 0.5606 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.3705, allocations: 15.88 kB / 0.5606 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3707, allocations: 82.05 kB / 0.5607 GB, free: 4.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3707, allocations: 4 kB / 0.5607 GB, free: 4.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3707, allocations: 0 / 0.5607 GB, free: 4.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3707, allocations: 3.938 kB / 0.5607 GB, free: 4.879 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004906/0.3712, allocations: 305.9 kB / 0.561 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3712, allocations: 15.97 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.3713, allocations: 4.891 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.3715, allocations: 134.4 kB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.3715, allocations: 4.375 kB / 0.5612 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.3715, allocations: 4.375 kB / 0.5612 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3717, allocations: 49.81 kB / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3717, allocations: 0 / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3717, allocations: 0 / 0.5612 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3717, allocations: 4 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.3718, allocations: 19.98 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3721, allocations: 228.4 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.3723, allocations: 38.56 kB / 0.5615 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.3724, allocations: 24.92 kB / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3724, allocations: 0 / 0.5615 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3724, allocations: 38.56 kB / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.3724, allocations: 0 / 0.5616 GB, free: 3.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.373, allocations: 141.4 kB / 0.5617 GB, free: 3.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.3731, allocations: 51.41 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3732, allocations: 148 kB / 0.5619 GB, free: 3.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.3732, allocations: 33.7 kB / 0.5619 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.3733, allocations: 92.12 kB / 0.562 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.3733, allocations: 27.67 kB / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.3734, allocations: 17.72 kB / 0.562 GB, free: 3.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3736, allocations: 330.7 kB / 0.5624 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.3736, allocations: 15.98 kB / 0.5624 GB, free: 3.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.269e-05/0.3737, allocations: 24.05 kB / 0.5624 GB, free: 2.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3738, allocations: 44.83 kB / 0.5624 GB, free: 2.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3738, allocations: 4 kB / 0.5624 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001804/0.374, allocations: 77.62 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.374, allocations: 4 kB / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.374, allocations: 0 / 0.5625 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.374, allocations: 3.984 kB / 0.5625 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.3741, allocations: 19.94 kB / 0.5625 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3741, allocations: 0 / 0.5625 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.3742, allocations: 7.984 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3742, allocations: 0 / 0.5626 GB, free: 2.828 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 (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 9.73e-05/0.3743, allocations: 121.8 kB / 0.5627 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3743, allocations: 7.953 kB / 0.5627 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.3746, allocations: 90.05 kB / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3746, allocations: 0 / 0.5628 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.3746, allocations: 3.984 kB / 0.5628 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3746, allocations: 4 kB / 0.5628 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.375, allocations: 286.1 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.375, allocations: 4 kB / 0.563 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.375, allocations: 16.31 kB / 0.5631 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.375, allocations: 0 / 0.5631 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3751, allocations: 7.984 kB / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3751, allocations: 0 / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3751, allocations: 0 / 0.5631 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3753, allocations: 183.4 kB / 0.5632 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.3753, allocations: 3.953 kB / 0.5633 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3753, allocations: 4 kB / 0.5633 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.3754, allocations: 7.984 kB / 0.5633 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3754, allocations: 4 kB / 0.5633 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3754, allocations: 3.938 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3755, allocations: 119.2 kB / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3755, allocations: 0 / 0.5634 GB, free: 1.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3758, allocations: 19.94 kB / 0.5634 GB, free: 1.879 MB / 398.1 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.001605/0.3774, allocations: 437.7 kB / 0.5638 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.3776, allocations: 55.89 kB / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3776, allocations: 0 / 0.5639 GB, free: 1.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.557e-05/0.3777, allocations: 19.98 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.3781, allocations: 15.98 kB / 0.5639 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.3786, allocations: 207.9 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.201e-05/0.3787, allocations: 86.2 kB / 0.5642 GB, free: 1.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.3787, allocations: 15.44 kB / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3787, allocations: 0 / 0.5642 GB, free: 1.188 MB / 398.1 MB Notification: Performance of Templates: time 0.003652/0.3824, allocations: 1.44 MB / 0.5656 GB, free: 15.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 8.015081176999956]