Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001788/0.001788, 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.002245/0.002245, 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2258/0.2258, 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.CombiTable1Ds.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") [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.002218/0.002218, allocations: 71.89 kB / 0.4943 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3378, allocations: 65.46 MB / 0.5583 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003457/0.3413, allocations: 1.621 MB / 0.5598 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.3433, allocations: 1.263 MB / 0.5611 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.3434, allocations: 4 kB / 0.5611 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.3436, allocations: 23.84 kB / 0.5611 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3439, allocations: 83.62 kB / 0.5612 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.3442, allocations: 87.7 kB / 0.5613 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3444, allocations: 71.77 kB / 0.5613 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3445, allocations: 11.98 kB / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.3445, allocations: 23.92 kB / 0.5614 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.3451, allocations: 39.83 kB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3451, allocations: 4 kB / 0.5614 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.3453, allocations: 103.9 kB / 0.5615 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.3453, allocations: 11.92 kB / 0.5615 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.3454, allocations: 23.88 kB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.3456, allocations: 149.8 kB / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3457, allocations: 0 / 0.5617 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.3457, allocations: 4 kB / 0.5617 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3457, allocations: 0 / 0.5617 GB, free: 4.211 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.0005511/0.3462, allocations: 317.7 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3463, allocations: 11.97 kB / 0.562 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.3463, allocations: 8.891 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3465, allocations: 138.4 kB / 0.5621 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3465, allocations: 4.375 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.3465, allocations: 384 / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.3467, allocations: 67.47 kB / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3467, allocations: 0 / 0.5622 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3467, allocations: 4 kB / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3467, allocations: 0 / 0.5622 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.3468, allocations: 23.97 kB / 0.5622 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.3472, allocations: 251.9 kB / 0.5625 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.3474, allocations: 46.48 kB / 0.5625 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.028e-05/0.3475, allocations: 16.94 kB / 0.5625 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3475, allocations: 3.984 kB / 0.5625 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3476, allocations: 38.56 kB / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3476, allocations: 0 / 0.5626 GB, free: 3.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005602/0.3481, allocations: 137.4 kB / 0.5627 GB, free: 3.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3482, allocations: 77.11 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3484, allocations: 145.8 kB / 0.5629 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3484, allocations: 29.7 kB / 0.563 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.3484, allocations: 96.14 kB / 0.563 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.3485, allocations: 23.78 kB / 0.5631 GB, free: 2.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.3485, allocations: 17.72 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3486, allocations: 326.7 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.3487, allocations: 15.98 kB / 0.5634 GB, free: 2.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.3488, allocations: 33.7 kB / 0.5634 GB, free: 2.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3489, allocations: 52.8 kB / 0.5635 GB, free: 2.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3489, allocations: 0 / 0.5635 GB, free: 2.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.3491, allocations: 81.88 kB / 0.5636 GB, free: 2.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3491, allocations: 4 kB / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3491, allocations: 0 / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3491, allocations: 0 / 0.5636 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.3492, allocations: 19.98 kB / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3492, allocations: 0 / 0.5636 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.3493, allocations: 11.94 kB / 0.5636 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3493, allocations: 3.938 kB / 0.5636 GB, free: 2.039 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.49e-05/0.3494, allocations: 117.8 kB / 0.5637 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3494, allocations: 7.953 kB / 0.5637 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.3496, allocations: 90 kB / 0.5638 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3496, allocations: 0 / 0.5638 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3497, allocations: 0 / 0.5638 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3497, allocations: 4 kB / 0.5638 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3501, allocations: 325.5 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3501, allocations: 0 / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.3501, allocations: 15.98 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3501, allocations: 0 / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3502, allocations: 0 / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3502, allocations: 3.938 kB / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3502, allocations: 0 / 0.5642 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.3504, allocations: 179.5 kB / 0.5643 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3504, allocations: 7.953 kB / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.3504, allocations: 0 / 0.5643 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3505, allocations: 11.92 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.3505, allocations: 8 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3506, allocations: 4.125 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.3507, allocations: 121.3 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3509, allocations: 39.86 kB / 0.5645 GB, free: 1.031 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.001745/0.3527, allocations: 0.493 MB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3529, allocations: 47.95 kB / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3529, allocations: 0 / 0.565 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.353, allocations: 27.92 kB / 0.5651 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3534, allocations: 21.67 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.3538, allocations: 195.2 kB / 0.5653 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3542, allocations: 0.6885 MB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.3542, allocations: 19.42 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3542, allocations: 0 / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Templates: time 0.004196/0.3584, allocations: 1.941 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.984026018995792]