Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001345/0.001345, 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.001588/0.001588, allocations: 210.5 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.537/1.537, 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.2439/0.2439, allocations: 46.96 MB / 360.9 MB, free: 4 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.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.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 59.89 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 66.03 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.00336/0.3705, allocations: 1.617 MB / 0.5627 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.3727, allocations: 1.232 MB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.3727, allocations: 0 / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.373, allocations: 23.78 kB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.3733, allocations: 83.62 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3736, allocations: 103.4 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3738, allocations: 75.83 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3739, allocations: 18.64 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.522e-05/0.374, allocations: 35.8 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3741, allocations: 31.84 kB / 0.5642 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3741, allocations: 4 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.3743, allocations: 87.95 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.3744, allocations: 19.91 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3744, allocations: 23.81 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.3747, allocations: 151.2 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3747, allocations: 4 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3747, allocations: 0 / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3747, allocations: 0 / 0.5645 GB, free: 0.6289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005645/0.3753, allocations: 341.5 kB / 0.5648 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3753, allocations: 12.03 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3753, allocations: 8.891 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3756, allocations: 130.4 kB / 0.565 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3756, allocations: 4.375 kB / 0.565 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.3756, allocations: 4.375 kB / 0.565 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3758, allocations: 105.2 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.3759, allocations: 3.984 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3759, allocations: 0 / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.3759, allocations: 4 kB / 0.5651 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.376, allocations: 35.95 kB / 0.5651 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.3764, allocations: 244.3 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3765, allocations: 46.56 kB / 0.5654 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.3766, allocations: 20.97 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3766, allocations: 4 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3767, allocations: 38.5 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3767, allocations: 0 / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006587/0.3773, allocations: 169.5 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3774, allocations: 85.05 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.3775, allocations: 160 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3776, allocations: 29.7 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.3776, allocations: 100.1 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3777, allocations: 23.88 kB / 0.566 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3777, allocations: 33.64 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3779, allocations: 322.8 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.378, allocations: 19.98 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3781, allocations: 71.39 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.3782, allocations: 61.05 kB / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3782, allocations: 384 / 0.5665 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002241/0.3784, allocations: 105.5 kB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3785, allocations: 7.984 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3785, allocations: 0 / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3785, allocations: 4 kB / 0.5666 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3786, allocations: 19.98 kB / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3786, allocations: 0 / 0.5666 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.3786, allocations: 8 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3787, allocations: 7.938 kB / 0.5666 GB, free: 14.24 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 9.624e-05/0.3788, allocations: 113.8 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3788, allocations: 11.94 kB / 0.5668 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3791, allocations: 122.2 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3791, allocations: 3.984 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3791, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3791, allocations: 0 / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.3796, allocations: 322.1 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3796, allocations: 3.938 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.3797, allocations: 19.98 kB / 0.5672 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3797, allocations: 4 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3797, allocations: 4 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.3797, allocations: 7.938 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3797, allocations: 3.984 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.3799, allocations: 195.7 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.38, allocations: 7.938 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.38, allocations: 4 kB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.3801, allocations: 11.94 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3801, allocations: 3.984 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3801, allocations: 11.94 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3802, allocations: 121.8 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3802, allocations: 0 / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3805, allocations: 43.86 kB / 0.5676 GB, free: 13.17 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.001955/0.3825, allocations: 0.5083 MB / 0.5681 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3827, allocations: 67.88 kB / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3827, allocations: 0 / 0.5682 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.3828, allocations: 31.92 kB / 0.5682 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3831, allocations: 21.61 kB / 0.5682 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.3836, allocations: 201.8 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.3836, allocations: 83.66 kB / 0.5685 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.3837, allocations: 24.95 kB / 0.5685 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.508e-05/0.3838, allocations: 23.42 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3838, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of Templates: time 0.005073/0.3888, allocations: 1.899 MB / 0.5704 GB, free: 10.5 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 5.362420117482543]