Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 100.6 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3629/0.3629, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 55.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3966, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003049/0.3997, allocations: 1.644 MB / 0.508 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.4004, allocations: 419.1 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.4005, allocations: 1.219 kB / 0.5084 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.4008, allocations: 66.61 kB / 0.5085 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.401, allocations: 58.75 kB / 0.5085 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.4012, allocations: 101.9 kB / 0.5086 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.4014, allocations: 76.23 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4015, allocations: 15.86 kB / 0.5087 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.39e-05/0.4015, allocations: 32.23 kB / 0.5087 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.4017, allocations: 52.97 kB / 0.5088 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.4017, allocations: 2.875 kB / 0.5088 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.541e-05/0.4018, allocations: 43.92 kB / 0.5088 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.4018, allocations: 18.84 kB / 0.5088 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.4019, allocations: 31.34 kB / 0.5089 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.4021, allocations: 101.1 kB / 0.509 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4021, allocations: 0 / 0.509 GB, free: 36.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4021, allocations: 0 / 0.509 GB, free: 36.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.4021, allocations: 7.406 kB / 0.509 GB, free: 36.67 MB / 378.7 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.0004579/0.4025, allocations: 408.5 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4026, allocations: 10.53 kB / 0.5094 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4026, allocations: 10.09 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4028, allocations: 192.4 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4028, allocations: 7.188 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.4028, allocations: 3.156 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.403, allocations: 63.56 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.403, allocations: 2.844 kB / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.403, allocations: 0 / 0.5096 GB, free: 35.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.403, allocations: 7.375 kB / 0.5096 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.4031, allocations: 24.25 kB / 0.5097 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.4035, allocations: 301 kB / 0.51 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.4036, allocations: 43.44 kB / 0.51 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.4036, allocations: 24.81 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4037, allocations: 0 / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4037, allocations: 36.84 kB / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.4037, allocations: 0 / 0.5101 GB, free: 35.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00083/0.4045, allocations: 236.3 kB / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.4045, allocations: 51.41 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4047, allocations: 211.4 kB / 0.5105 GB, free: 35.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.4047, allocations: 25.7 kB / 0.5106 GB, free: 35.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.4048, allocations: 101.3 kB / 0.5107 GB, free: 35.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.4048, allocations: 33.83 kB / 0.5107 GB, free: 35.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.4048, allocations: 22.66 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.4049, allocations: 323.5 kB / 0.511 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.516e-05/0.405, allocations: 35.64 kB / 0.5111 GB, free: 34.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.4051, allocations: 29.62 kB / 0.5111 GB, free: 34.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.4052, allocations: 75.53 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4052, allocations: 0 / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001825/0.4054, allocations: 103.5 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4054, allocations: 2.812 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4054, allocations: 10.05 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4055, allocations: 0 / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.4055, allocations: 17.77 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4056, allocations: 7.875 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.4056, allocations: 11.45 kB / 0.5113 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4056, allocations: 6.875 kB / 0.5113 GB, free: 34.7 MB / 378.7 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 6.937e-05/0.4057, allocations: 122.2 kB / 0.5114 GB, free: 34.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.4057, allocations: 17.38 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.406, allocations: 134.2 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.406, allocations: 3.984 kB / 0.5116 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.406, allocations: 7.875 kB / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.406, allocations: 0 / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.4065, allocations: 419.6 kB / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4065, allocations: 0 / 0.512 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.4065, allocations: 25.64 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4065, allocations: 0 / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4066, allocations: 2.906 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4066, allocations: 0 / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4066, allocations: 0 / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.407, allocations: 0.8129 MB / 0.5128 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.407, allocations: 86.95 kB / 0.5129 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.407, allocations: 2.906 kB / 0.5129 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.706e-05/0.4071, allocations: 6.75 kB / 0.5129 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.4072, allocations: 6.094 kB / 0.5129 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4072, allocations: 2.812 kB / 0.5129 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.235e-05/0.4073, allocations: 164.4 kB / 0.5131 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4073, allocations: 0 / 0.5131 GB, free: 33.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.4076, allocations: 23.91 kB / 0.5131 GB, free: 33.14 MB / 378.7 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.0009883/0.4086, allocations: 455 kB / 0.5135 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4088, allocations: 71 kB / 0.5136 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4089, allocations: 0 / 0.5136 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.4089, allocations: 40.2 kB / 0.5136 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4093, allocations: 23.94 kB / 0.5136 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.4098, allocations: 411.6 kB / 0.514 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.41, allocations: 0.716 MB / 0.5147 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.87e-05/0.4101, allocations: 23.61 kB / 0.5148 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.4101, allocations: 20.61 kB / 0.5148 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4101, allocations: 3.938 kB / 0.5148 GB, free: 31.84 MB / 378.7 MB Notification: Performance of Templates: time 0.004115/0.4142, allocations: 1.316 MB / 0.5161 GB, free: 31.68 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches