Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001152, 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.467/1.467, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.001089, allocations: 105.8 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.375/0.375, allocations: 44.84 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.355, allocations: 62.02 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002308/0.3573, allocations: 1.673 MB / 0.5168 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007102/0.3581, allocations: 0.5274 MB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.3581, allocations: 6.938 kB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.3583, allocations: 71.02 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.3585, allocations: 83.41 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.3587, allocations: 79.67 kB / 0.5175 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3588, allocations: 76.98 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.586e-05/0.3589, allocations: 16.75 kB / 0.5176 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.359, allocations: 36.75 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.626e-05/0.359, allocations: 57.58 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3591, allocations: 0 / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.3591, allocations: 42.72 kB / 0.5178 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3592, allocations: 23.89 kB / 0.5178 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.3592, allocations: 32.8 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3593, allocations: 98.97 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3593, allocations: 4 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.3594, allocations: 0 / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.3594, allocations: 0 / 0.5179 GB, free: 36.05 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.0003248/0.3597, allocations: 416.1 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.3597, allocations: 9.281 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.3598, allocations: 19.94 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.3599, allocations: 190.8 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-06/0.3599, allocations: 7.531 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.3599, allocations: 2.969 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.36, allocations: 67.45 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3601, allocations: 2.812 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3601, allocations: 0 / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.3601, allocations: 0 / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.953e-05/0.3602, allocations: 24.58 kB / 0.5186 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.3604, allocations: 297.2 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.309e-05/0.3605, allocations: 43.95 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.3606, allocations: 20.7 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3606, allocations: 0 / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.3606, allocations: 33.38 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3606, allocations: 3.938 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007144/0.3614, allocations: 221.4 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.3614, allocations: 51.41 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3615, allocations: 213.2 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3615, allocations: 25.7 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.3616, allocations: 109.2 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.3616, allocations: 40.27 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.3616, allocations: 22.69 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.3617, allocations: 321.1 kB / 0.52 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.3618, allocations: 28.7 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.3618, allocations: 21.5 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3619, allocations: 63.31 kB / 0.5201 GB, free: 34.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.362, allocations: 4 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001609/0.3621, allocations: 108.5 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.3621, allocations: 4.719 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3622, allocations: 6.109 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3622, allocations: 0 / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.3623, allocations: 16.91 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3623, allocations: 0 / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.3623, allocations: 6.781 kB / 0.5202 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.3623, allocations: 6.406 kB / 0.5202 GB, free: 34.07 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.932e-05/0.3624, allocations: 129.1 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.3624, allocations: 9.312 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3626, allocations: 120.9 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3626, allocations: 2.562 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3627, allocations: 0 / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3627, allocations: 7.359 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.363, allocations: 405.2 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.363, allocations: 0 / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-05/0.3631, allocations: 17.81 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3631, allocations: 4.359 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3631, allocations: 2.844 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3631, allocations: 3.281 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3631, allocations: 4.031 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3635, allocations: 0.7944 MB / 0.5217 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3635, allocations: 83.8 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3635, allocations: 10.98 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.558e-05/0.3636, allocations: 6.578 kB / 0.5218 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.3637, allocations: 2.938 kB / 0.5218 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.3637, allocations: 7.031 kB / 0.5218 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.601e-05/0.3638, allocations: 166.3 kB / 0.5219 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 3.938 kB / 0.5219 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003204/0.3641, allocations: 25.95 kB / 0.5219 GB, free: 32.54 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.0008417/0.3649, allocations: 443.9 kB / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3651, allocations: 67.98 kB / 0.5224 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3651, allocations: 0 / 0.5224 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.3652, allocations: 37.95 kB / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3655, allocations: 22.53 kB / 0.5225 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.3659, allocations: 412.2 kB / 0.5229 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3661, allocations: 0.7091 MB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.448e-05/0.3661, allocations: 11.88 kB / 0.5236 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.3661, allocations: 12.97 kB / 0.5236 GB, free: 31.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3662, allocations: 4 kB / 0.5236 GB, free: 31.22 MB / 378.7 MB Notification: Performance of Templates: time 0.003645/0.3698, allocations: 1.316 MB / 0.5249 GB, free: 31.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches