Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001618/0.001618, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002137/0.002137, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.507/1.507, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.96 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test18,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",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3669, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003478/0.3704, allocations: 1.613 MB / 0.5634 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3727, allocations: 1.24 MB / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.3727, allocations: 0 / 0.5646 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.373, allocations: 31.78 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.3733, allocations: 87.61 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.3737, allocations: 123.5 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.374, allocations: 83.77 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3741, allocations: 10.67 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.3742, allocations: 31.91 kB / 0.565 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.3744, allocations: 35.78 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3744, allocations: 4 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.3747, allocations: 95.88 kB / 0.5651 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.691e-05/0.3747, allocations: 19.92 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.3748, allocations: 27.8 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.3751, allocations: 151.2 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3751, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3751, allocations: 0 / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.3751, allocations: 4 kB / 0.5653 GB, free: 0.6094 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006717/0.3758, allocations: 345.5 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.3758, allocations: 8.031 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3759, allocations: 8.891 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.3762, allocations: 142.3 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3762, allocations: 4.375 kB / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3762, allocations: 384 / 0.5658 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3765, allocations: 113.1 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3765, allocations: 7.953 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3765, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3765, allocations: 4 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3766, allocations: 35.97 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.3771, allocations: 244.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3773, allocations: 58.55 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.3774, allocations: 20.97 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.3774, allocations: 0 / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.3774, allocations: 34.56 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3774, allocations: 0 / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007596/0.3782, allocations: 205.4 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.3783, allocations: 77.11 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3785, allocations: 152.1 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3785, allocations: 29.7 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3787, allocations: 96.12 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.3787, allocations: 31.73 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.3788, allocations: 21.72 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.379, allocations: 322.8 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.3791, allocations: 36.3 kB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3792, allocations: 67.39 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.3794, allocations: 76.81 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3794, allocations: 4 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002306/0.3796, allocations: 109.5 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3796, allocations: 4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3797, allocations: 8.031 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3797, allocations: 0 / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3798, allocations: 19.92 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3798, allocations: 0 / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.3798, allocations: 7.938 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3799, allocations: 8 kB / 0.5675 GB, free: 14.15 MB / 414.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 (8): * Single equations (assignments): 8 * 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.000109/0.38, allocations: 117.8 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.38, allocations: 15.84 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003154/0.3804, allocations: 134.6 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3804, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3804, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3804, allocations: 7.875 kB / 0.5678 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.3809, allocations: 330.2 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3809, allocations: 0 / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.315e-05/0.381, allocations: 23.98 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.381, allocations: 0 / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.381, allocations: 3.938 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.381, allocations: 7.938 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.381, allocations: 3.984 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3813, allocations: 203.5 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3813, allocations: 7.938 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3813, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.3814, allocations: 11.92 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3814, allocations: 7.984 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.3814, allocations: 4 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3815, allocations: 113.8 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3815, allocations: 4 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000297/0.3818, allocations: 43.86 kB / 0.5685 GB, free: 13.05 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 (8): * Single equations (assignments): 8 * 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.001919/0.3838, allocations: 0.5381 MB / 0.569 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.384, allocations: 63.95 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.384, allocations: 4 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.3841, allocations: 39.91 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3845, allocations: 12 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.385, allocations: 239.6 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3851, allocations: 83.66 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.3852, allocations: 27.42 kB / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3852, allocations: 0 / 0.5695 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Templates: time 0.004821/0.39, allocations: 2.172 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.055527813266963]