Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, 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.31/1.31, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 105.2 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3365/0.3365, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3646, allocations: 62.01 MB / 0.5151 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002795/0.3675, allocations: 1.65 MB / 0.5168 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008254/0.3683, allocations: 0.5172 MB / 0.5173 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.3684, allocations: 3.938 kB / 0.5173 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.3686, allocations: 38.39 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.3688, allocations: 56.31 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.369, allocations: 79.62 kB / 0.5174 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3692, allocations: 69.23 kB / 0.5175 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.3693, allocations: 9.812 kB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.3693, allocations: 27.83 kB / 0.5175 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.537e-05/0.3694, allocations: 24.02 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3694, allocations: 0 / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.3695, allocations: 27.62 kB / 0.5176 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.3695, allocations: 13.16 kB / 0.5176 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3696, allocations: 30.61 kB / 0.5176 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3697, allocations: 84.83 kB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3697, allocations: 0 / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3697, allocations: 0 / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.3698, allocations: 4 kB / 0.5177 GB, free: 36.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004051/0.3702, allocations: 382.6 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3702, allocations: 10.62 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.3703, allocations: 15.8 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3704, allocations: 201.6 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3704, allocations: 3.812 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3705, allocations: 3.938 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.3706, allocations: 53.52 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3706, allocations: 4 kB / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.3706, allocations: 0 / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3706, allocations: 0 / 0.5184 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.3707, allocations: 22.36 kB / 0.5184 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.371, allocations: 277.3 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.3712, allocations: 48.88 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.3713, allocations: 17.3 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3713, allocations: 0 / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3713, allocations: 33.16 kB / 0.5187 GB, free: 35.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.3713, allocations: 0 / 0.5187 GB, free: 35.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004987/0.3718, allocations: 139.1 kB / 0.5189 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3719, allocations: 58.09 kB / 0.5189 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.372, allocations: 179 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.372, allocations: 29.7 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.3721, allocations: 97.23 kB / 0.5192 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.3721, allocations: 15.72 kB / 0.5192 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.3721, allocations: 19.38 kB / 0.5192 GB, free: 34.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.3722, allocations: 320.9 kB / 0.5196 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.3723, allocations: 22.95 kB / 0.5196 GB, free: 34.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.3723, allocations: 22.67 kB / 0.5196 GB, free: 34.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.3724, allocations: 45.88 kB / 0.5196 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3724, allocations: 7.719 kB / 0.5196 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001521/0.3726, allocations: 76.39 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3726, allocations: 5.344 kB / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3726, allocations: 0 / 0.5197 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3727, allocations: 4 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.3727, allocations: 14.34 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3727, allocations: 3.984 kB / 0.5197 GB, free: 34.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.3728, allocations: 6.625 kB / 0.5198 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3728, allocations: 11.31 kB / 0.5198 GB, free: 34.23 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 (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 6.003e-05/0.3728, allocations: 120.4 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.3729, allocations: 6.625 kB / 0.5199 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.3731, allocations: 100.8 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3731, allocations: 0 / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3731, allocations: 0 / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3731, allocations: 3.938 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3734, allocations: 351.9 kB / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3735, allocations: 320 / 0.5203 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.3735, allocations: 12.72 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3735, allocations: 6.938 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3735, allocations: 7.266 kB / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3735, allocations: 0 / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3736, allocations: 0 / 0.5203 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3739, allocations: 0.7589 MB / 0.5211 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.374, allocations: 83.98 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.374, allocations: 3.703 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.3741, allocations: 2.562 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3741, allocations: 10.45 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3741, allocations: 0 / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.719e-05/0.3742, allocations: 135.4 kB / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3742, allocations: 0 / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.3745, allocations: 18.7 kB / 0.5213 GB, free: 32.77 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 (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.0008134/0.3753, allocations: 395 kB / 0.5217 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.3755, allocations: 44.12 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3755, allocations: 3.031 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.635e-05/0.3756, allocations: 28.53 kB / 0.5218 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.376, allocations: 23.42 kB / 0.5218 GB, free: 32.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.3764, allocations: 321.3 kB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.3766, allocations: 0.7006 MB / 0.5228 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.3766, allocations: 13.8 kB / 0.5228 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3767, allocations: 13.97 kB / 0.5228 GB, free: 31.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3767, allocations: 0 / 0.5228 GB, free: 31.54 MB / 378.7 MB Notification: Performance of Templates: time 0.003485/0.3802, allocations: 1.086 MB / 0.5239 GB, free: 31.4 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches