Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001747/0.001747, 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.001875/0.001875, allocations: 215.6 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.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2365/0.2365, allocations: 44.92 MB / 359.6 MB, free: 6.078 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [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.002168/0.002168, allocations: 67.89 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3699, allocations: 65.46 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00486/0.3748, allocations: 1.613 MB / 0.5598 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3767, allocations: 0.5154 MB / 0.5603 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.3768, allocations: 4 kB / 0.5603 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003771/0.3771, allocations: 79.7 kB / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.3777, allocations: 107.6 kB / 0.5605 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3781, allocations: 91.75 kB / 0.5606 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.3784, allocations: 87.75 kB / 0.5606 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3785, allocations: 15.64 kB / 0.5607 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.727e-05/0.3786, allocations: 35.84 kB / 0.5607 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.3788, allocations: 63.75 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.3788, allocations: 4 kB / 0.5608 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3789, allocations: 43.98 kB / 0.5608 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.036e-05/0.379, allocations: 23.91 kB / 0.5608 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.3791, allocations: 27.8 kB / 0.5608 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.3794, allocations: 102.3 kB / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3794, allocations: 0 / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3794, allocations: 0 / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.3794, allocations: 4 kB / 0.5609 GB, free: 4.66 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.0007056/0.3801, allocations: 341.5 kB / 0.5613 GB, free: 4.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3802, allocations: 11.97 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.3802, allocations: 20.84 kB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.3805, allocations: 143 kB / 0.5614 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3805, allocations: 4.359 kB / 0.5614 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.3805, allocations: 4.375 kB / 0.5614 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.3808, allocations: 57.81 kB / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3808, allocations: 0 / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3808, allocations: 0 / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3808, allocations: 0 / 0.5615 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.381, allocations: 31.91 kB / 0.5615 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3815, allocations: 236.4 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3817, allocations: 38.56 kB / 0.5618 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.3818, allocations: 16.86 kB / 0.5618 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.3818, allocations: 8.031 kB / 0.5618 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.3819, allocations: 38.55 kB / 0.5619 GB, free: 3.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/0.3819, allocations: 0 / 0.5619 GB, free: 3.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001448/0.3833, allocations: 229.3 kB / 0.5621 GB, free: 3.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.3834, allocations: 51.41 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.3837, allocations: 210.3 kB / 0.5623 GB, free: 3.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3838, allocations: 33.7 kB / 0.5624 GB, free: 3.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.714e-05/0.3839, allocations: 108 kB / 0.5625 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.3839, allocations: 31.73 kB / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.384, allocations: 21.72 kB / 0.5625 GB, free: 2.898 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3842, allocations: 330.8 kB / 0.5628 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3843, allocations: 27.92 kB / 0.5629 GB, free: 2.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3845, allocations: 23.97 kB / 0.5629 GB, free: 2.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.3847, allocations: 64.78 kB / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3847, allocations: 0 / 0.5629 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003791/0.3851, allocations: 105.6 kB / 0.563 GB, free: 2.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3851, allocations: 6.5 kB / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3851, allocations: 0 / 0.563 GB, free: 2.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3851, allocations: 4 kB / 0.563 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3853, allocations: 15.98 kB / 0.5631 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3853, allocations: 320 / 0.5631 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.3854, allocations: 7.984 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3854, allocations: 15.94 kB / 0.5631 GB, free: 2.293 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 (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.0001745/0.3856, allocations: 121.8 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.3857, allocations: 15.91 kB / 0.5632 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.3862, allocations: 119 kB / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3862, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3862, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3862, allocations: 0 / 0.5633 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008132/0.387, allocations: 354.8 kB / 0.5637 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.387, allocations: 3.984 kB / 0.5637 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.3871, allocations: 16 kB / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3871, allocations: 0 / 0.5637 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.3871, allocations: 11.92 kB / 0.5637 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.3871, allocations: 3.938 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3871, allocations: 4 kB / 0.5637 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.3876, allocations: 196.3 kB / 0.5639 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.3876, allocations: 15.94 kB / 0.5639 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.3876, allocations: 0 / 0.5639 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.3878, allocations: 7.938 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3878, allocations: 11.98 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3878, allocations: 4 kB / 0.5639 GB, free: 1.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002715/0.3881, allocations: 168.2 kB / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3881, allocations: 0 / 0.5641 GB, free: 1.176 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.3886, allocations: 23.98 kB / 0.5641 GB, free: 1.152 MB / 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 (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.002714/0.3913, allocations: 498.9 kB / 0.5646 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3917, allocations: 51.97 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3917, allocations: 0 / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3919, allocations: 43.97 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.3922, allocations: 17.56 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3928, allocations: 288.7 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3929, allocations: 96.59 kB / 0.5651 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.3929, allocations: 15.44 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3929, allocations: 0 / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of Templates: time 0.003948/0.3969, allocations: 1.811 MB / 0.5668 GB, free: 14.51 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.081909311003983]