Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 108.6 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3812/0.3812, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3622, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002809/0.3651, allocations: 1.668 MB / 0.5168 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3664, allocations: 1.134 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.3665, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.3667, allocations: 24.22 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.3669, allocations: 58.81 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.3672, allocations: 86.8 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3673, allocations: 72.88 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3674, allocations: 19.56 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.3674, allocations: 27.7 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.3678, allocations: 35.31 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3679, allocations: 9.531 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.368, allocations: 92.06 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.3681, allocations: 16.94 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.3681, allocations: 29.41 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3683, allocations: 145 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3683, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3683, allocations: 3.188 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.3683, allocations: 0 / 0.5185 GB, free: 35.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004369/0.3688, allocations: 409.1 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3688, allocations: 8.562 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3689, allocations: 7.688 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3691, allocations: 194.3 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3691, allocations: 4.375 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3691, allocations: 10.56 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3692, allocations: 76.27 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3693, allocations: 0 / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3693, allocations: 2.906 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3693, allocations: 0 / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.3694, allocations: 36.11 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.3697, allocations: 302.9 kB / 0.5195 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.3698, allocations: 58.03 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.3699, allocations: 21 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3699, allocations: 2.844 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.3699, allocations: 34.56 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3699, allocations: 0 / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.3705, allocations: 175.8 kB / 0.5198 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.3705, allocations: 77.11 kB / 0.5198 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3707, allocations: 157.3 kB / 0.52 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3707, allocations: 29.7 kB / 0.52 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.3707, allocations: 106.3 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.3707, allocations: 18.44 kB / 0.5201 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3708, allocations: 29.73 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.3708, allocations: 318.3 kB / 0.5205 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.868e-05/0.3709, allocations: 25.19 kB / 0.5205 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.371, allocations: 42.97 kB / 0.5205 GB, free: 33.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3711, allocations: 56.5 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3711, allocations: 2.719 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001724/0.3713, allocations: 99.73 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3713, allocations: 5.906 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3713, allocations: 0 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3714, allocations: 0 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.3715, allocations: 21.64 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3715, allocations: 3.938 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.3715, allocations: 14.3 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-06/0.3715, allocations: 6.938 kB / 0.5207 GB, free: 33.55 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 5.957e-05/0.3716, allocations: 115.8 kB / 0.5208 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3716, allocations: 6.812 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3719, allocations: 118.9 kB / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3719, allocations: 0 / 0.521 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3719, allocations: 6.5 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3719, allocations: 3.938 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3723, allocations: 387.5 kB / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3723, allocations: 384 / 0.5213 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.3723, allocations: 16.45 kB / 0.5214 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.3723, allocations: 7.938 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3724, allocations: 6.531 kB / 0.5214 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3724, allocations: 7.938 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3724, allocations: 3.703 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.3728, allocations: 0.7759 MB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.3728, allocations: 83.86 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3728, allocations: 6.203 kB / 0.5222 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.3729, allocations: 10.81 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.3729, allocations: 6.172 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.373, allocations: 2.938 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.373, allocations: 113.8 kB / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.373, allocations: 0 / 0.5224 GB, free: 32.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.3734, allocations: 45.05 kB / 0.5224 GB, free: 32.04 MB / 378.7 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.0009411/0.3744, allocations: 493.1 kB / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.3746, allocations: 73.91 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3746, allocations: 0 / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.3747, allocations: 36.66 kB / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.375, allocations: 9.406 kB / 0.523 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004019/0.3754, allocations: 340.3 kB / 0.5233 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.3755, allocations: 0.6964 MB / 0.524 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.3756, allocations: 16.95 kB / 0.524 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3757, allocations: 20.03 kB / 0.524 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3757, allocations: 4 kB / 0.524 GB, free: 30.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003779/0.3795, allocations: 1.829 MB / 0.5258 GB, free: 30.54 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches