Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001906/0.001906, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00248/0.00248, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2368/0.2368, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3751, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003171/0.3783, allocations: 1.59 MB / 0.5626 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3794, allocations: 0.5154 MB / 0.5631 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.098e-05/0.3794, allocations: 4 kB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3797, allocations: 27.8 kB / 0.5632 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.38, allocations: 79.61 kB / 0.5633 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.3802, allocations: 91.52 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3804, allocations: 67.83 kB / 0.5634 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3805, allocations: 8 kB / 0.5634 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.259e-05/0.3806, allocations: 27.8 kB / 0.5634 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.3807, allocations: 23.86 kB / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3807, allocations: 0 / 0.5635 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.632e-05/0.3808, allocations: 39.97 kB / 0.5635 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.3808, allocations: 11.94 kB / 0.5635 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.3809, allocations: 19.86 kB / 0.5635 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3811, allocations: 85.98 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3811, allocations: 0 / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3811, allocations: 8 kB / 0.5636 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.3811, allocations: 3.938 kB / 0.5636 GB, free: 1.562 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.0005376/0.3816, allocations: 305.9 kB / 0.5639 GB, free: 1.234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3817, allocations: 12.03 kB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.3817, allocations: 16.88 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3819, allocations: 130.4 kB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3819, allocations: 384 / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.382, allocations: 4.375 kB / 0.5641 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3821, allocations: 57.8 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3821, allocations: 0 / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3821, allocations: 4 kB / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3821, allocations: 0 / 0.5641 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.3822, allocations: 23.92 kB / 0.5642 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3826, allocations: 224.5 kB / 0.5644 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.3828, allocations: 38.56 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.3829, allocations: 16.94 kB / 0.5644 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3829, allocations: 3.938 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/0.3829, allocations: 34.56 kB / 0.5645 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3829, allocations: 4 kB / 0.5645 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005786/0.3835, allocations: 149.3 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3835, allocations: 55.41 kB / 0.5647 GB, free: 384 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.3837, allocations: 160.8 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3837, allocations: 25.7 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.3838, allocations: 100.1 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3838, allocations: 19.84 kB / 0.5649 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.3839, allocations: 17.72 kB / 0.565 GB, free: 36 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.384, allocations: 326.8 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.3841, allocations: 19.98 kB / 0.5653 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.3842, allocations: 19.98 kB / 0.5653 GB, free: 15.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.3843, allocations: 44.78 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3843, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001825/0.3845, allocations: 85.55 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3845, allocations: 8 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3845, allocations: 0 / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3845, allocations: 0 / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.3846, allocations: 19.98 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3846, allocations: 256 / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.3846, allocations: 4 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3846, allocations: 7.938 kB / 0.5655 GB, free: 15.49 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 (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 0.0001076/0.3847, allocations: 121.8 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3848, allocations: 7.953 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/0.385, allocations: 98 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.385, allocations: 4 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.385, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.385, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.3855, allocations: 286.2 kB / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3855, allocations: 0 / 0.566 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.3856, allocations: 11.98 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3856, allocations: 4 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3856, allocations: 4 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3856, allocations: 3.938 kB / 0.566 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3856, allocations: 3.938 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3858, allocations: 175.5 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.3858, allocations: 8.234 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.3859, allocations: 0 / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.3859, allocations: 7.984 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.386, allocations: 11.92 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.386, allocations: 4 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.3861, allocations: 132.5 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3861, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3863, allocations: 15.95 kB / 0.5663 GB, free: 14.53 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 (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.001656/0.388, allocations: 438.1 kB / 0.5668 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.3882, allocations: 51.89 kB / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3882, allocations: 0 / 0.5668 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.429e-05/0.3883, allocations: 19.98 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3886, allocations: 16 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.3892, allocations: 194.1 kB / 0.567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.3893, allocations: 83.02 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.419e-05/0.3893, allocations: 11.77 kB / 0.5671 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.3893, allocations: 19.42 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3893, allocations: 4 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of Templates: time 0.004205/0.3935, allocations: 1.169 MB / 0.5683 GB, free: 12.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 5.4004867374897]