Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001325/0.001325, 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.001458/0.001458, allocations: 211 kB / 24.48 MB, free: 3.938 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.478/1.478, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2227/0.2227, allocations: 44.93 MB / 359.6 MB, free: 6.059 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [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.002354/0.002354, allocations: 71.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3669, allocations: 65.48 MB / 0.5582 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003426/0.3703, allocations: 1.683 MB / 0.5599 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3715, allocations: 0.5817 MB / 0.5604 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.3716, allocations: 0 / 0.5604 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.3718, allocations: 19.8 kB / 0.5604 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.3721, allocations: 83.61 kB / 0.5605 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.3725, allocations: 190.8 kB / 0.5607 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3727, allocations: 103.6 kB / 0.5608 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3729, allocations: 15.97 kB / 0.5608 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.3729, allocations: 35.86 kB / 0.5609 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.373, allocations: 43.77 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.373, allocations: 11.94 kB / 0.5609 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.3732, allocations: 91.95 kB / 0.561 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.701e-05/0.3733, allocations: 23.91 kB / 0.561 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.3733, allocations: 35.8 kB / 0.561 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.3736, allocations: 169.8 kB / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3736, allocations: 0 / 0.5612 GB, free: 4.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3736, allocations: 4 kB / 0.5612 GB, free: 4.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.3737, allocations: 0 / 0.5612 GB, free: 4.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006579/0.3743, allocations: 357.5 kB / 0.5616 GB, free: 4.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3743, allocations: 8.031 kB / 0.5616 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3744, allocations: 20.78 kB / 0.5616 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3746, allocations: 146.9 kB / 0.5617 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3746, allocations: 8.359 kB / 0.5617 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.3746, allocations: 11.94 kB / 0.5617 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.375, allocations: 117 kB / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.375, allocations: 0 / 0.5619 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.375, allocations: 4 kB / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.375, allocations: 0 / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.3753, allocations: 71.92 kB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.3759, allocations: 276.4 kB / 0.5622 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.3761, allocations: 74.53 kB / 0.5623 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.3763, allocations: 52.92 kB / 0.5623 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3763, allocations: 4 kB / 0.5623 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3764, allocations: 30.56 kB / 0.5623 GB, free: 3.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3764, allocations: 0 / 0.5623 GB, free: 3.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001642/0.378, allocations: 413 kB / 0.5627 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3781, allocations: 85.09 kB / 0.5628 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3782, allocations: 164 kB / 0.563 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.3783, allocations: 33.7 kB / 0.563 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.3783, allocations: 96.12 kB / 0.5631 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3784, allocations: 31.73 kB / 0.5631 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.3784, allocations: 25.72 kB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3786, allocations: 318.8 kB / 0.5635 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3789, allocations: 79.91 kB / 0.5635 GB, free: 1.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3792, allocations: 131.4 kB / 0.5637 GB, free: 1.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005811/0.3798, allocations: 168.7 kB / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3798, allocations: 0 / 0.5638 GB, free: 1.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006825/0.3805, allocations: 209.4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3805, allocations: 4 kB / 0.564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3805, allocations: 7.984 kB / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3805, allocations: 0 / 0.564 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3807, allocations: 35.97 kB / 0.5641 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3807, allocations: 3.938 kB / 0.5641 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.3809, allocations: 27.95 kB / 0.5641 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3809, allocations: 7.938 kB / 0.5641 GB, free: 1.234 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 (10): * Single equations (assignments): 10 * 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.0001088/0.381, allocations: 121.8 kB / 0.5642 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.381, allocations: 11.95 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.3818, allocations: 218.2 kB / 0.5644 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3818, allocations: 4 kB / 0.5644 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3818, allocations: 4.312 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3818, allocations: 8.359 kB / 0.5645 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.3828, allocations: 449.8 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3828, allocations: 4 kB / 0.5649 GB, free: 384 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.383, allocations: 43.95 kB / 0.5649 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.383, allocations: 3.938 kB / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.383, allocations: 0 / 0.5649 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.383, allocations: 4 kB / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3831, allocations: 0 / 0.5649 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.3838, allocations: 299.3 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3839, allocations: 11.95 kB / 0.5652 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.3839, allocations: 3.938 kB / 0.5652 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3841, allocations: 23.97 kB / 0.5653 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.3841, allocations: 15.97 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3841, allocations: 0 / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3843, allocations: 126.9 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3843, allocations: 4 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003342/0.3846, allocations: 43.88 kB / 0.5654 GB, free: 15.79 MB / 414.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 (9): * Single equations (assignments): 9 * 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.001975/0.3866, allocations: 0.5371 MB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.3874, allocations: 175.8 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3874, allocations: 0 / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.3877, allocations: 87.84 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3881, allocations: 19.98 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.3886, allocations: 268 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.988e-05/0.3887, allocations: 89.31 kB / 0.5666 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3888, allocations: 23.38 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3888, allocations: 384 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005097/0.3939, allocations: 2.655 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.021162355318666]