Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.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.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 181.3 kB / 8.747 MB, free: 308 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 89.98 kB / 281.6 MB, free: 5.32 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.182/0.182, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.165e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 61.91 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5496, allocations: 96.27 MB / 0.5887 GB, free: 244 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.5498, allocations: 63.97 kB / 0.5887 GB, free: 180 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08526/0.6351, allocations: 29.11 MB / 0.6172 GB, free: 2.984 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6351, allocations: 0 / 0.6172 GB, free: 2.984 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.549e-05/0.6352, allocations: 24.38 kB / 0.6172 GB, free: 2.961 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001761/0.637, allocations: 0.9546 MB / 0.6181 GB, free: 1.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.637, allocations: 15.98 kB / 0.6181 GB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001594/0.6372, allocations: 94.88 kB / 0.6182 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.6383, allocations: 0.5707 MB / 0.6188 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.6383, allocations: 16 kB / 0.6188 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.6384, allocations: 39.91 kB / 0.6188 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006026/0.639, allocations: 338.5 kB / 0.6192 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007192/0.6398, allocations: 498.8 kB / 0.6196 GB, free: 320 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.6398, allocations: 7.938 kB / 0.6196 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.6398, allocations: 0 / 0.6196 GB, free: 312 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.6399, allocations: 12 kB / 0.6197 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.6432, allocations: 2.573 MB / 0.6222 GB, free: 13.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005743/0.6438, allocations: 410.5 kB / 0.6226 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.6441, allocations: 195.1 kB / 0.6227 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.783e-05/0.6442, allocations: 4.234 kB / 0.6227 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6442, allocations: 42.75 kB / 0.6228 GB, free: 12.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/0.6442, allocations: 3.938 kB / 0.6228 GB, free: 12.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.001322/0.6455, allocations: 0.7712 MB / 0.6235 GB, free: 12.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.6456, allocations: 114.8 kB / 0.6237 GB, free: 12.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.6462, allocations: 491.8 kB / 0.6241 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.6463, allocations: 25.7 kB / 0.6241 GB, free: 11.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.6465, allocations: 360.6 kB / 0.6245 GB, free: 11.15 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6467, allocations: 173.4 kB / 0.6247 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.6467, allocations: 0 / 0.6247 GB, free: 10.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6469, allocations: 386.8 kB / 0.625 GB, free: 10.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/0.6472, allocations: 197.6 kB / 0.6252 GB, free: 10.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.6476, allocations: 343.3 kB / 0.6255 GB, free: 10 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.6481, allocations: 252.2 kB / 0.6258 GB, free: 9.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.6481, allocations: 0 / 0.6258 GB, free: 9.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001015/0.6491, allocations: 0.6226 MB / 0.6264 GB, free: 9.129 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006854/0.6498, allocations: 1.748 MB / 0.6281 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6498, allocations: 7.984 kB / 0.6281 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.6499, allocations: 8 kB / 0.6281 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.651, allocations: 203.7 kB / 0.6283 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.651, allocations: 8 kB / 0.6283 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.6516, allocations: 75.62 kB / 0.6284 GB, free: 6.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.6516, allocations: 28 kB / 0.6284 GB, free: 6.918 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6517, allocations: 7.953 kB / 0.6284 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009655/0.6526, allocations: 0.5337 MB / 0.6289 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6526, allocations: 4 kB / 0.6289 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.6527, allocations: 8 kB / 0.629 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009614/0.6536, allocations: 200.2 kB / 0.6291 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6537, allocations: 15.92 kB / 0.6292 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.6542, allocations: 71.55 kB / 0.6292 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.6543, allocations: 28 kB / 0.6293 GB, free: 6.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.6545, allocations: 120.8 kB / 0.6294 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.6546, allocations: 71.11 kB / 0.6294 GB, free: 5.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.6549, allocations: 90.89 kB / 0.6295 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6549, allocations: 7.984 kB / 0.6295 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6549, allocations: 0 / 0.6295 GB, free: 5.766 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.6549, allocations: 3.984 kB / 0.6295 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.6566, allocations: 1.12 MB / 0.6306 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6566, allocations: 0 / 0.6306 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.6573, allocations: 115.9 kB / 0.6307 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.6573, allocations: 4 kB / 0.6307 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.6574, allocations: 15.98 kB / 0.6308 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-06/0.6574, allocations: 4 kB / 0.6308 GB, free: 4.453 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6574, allocations: 3.938 kB / 0.6308 GB, free: 4.449 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.6586, allocations: 0.992 MB / 0.6317 GB, free: 3.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.6589, allocations: 188.3 kB / 0.6319 GB, free: 3.207 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.644e-05/0.659, allocations: 7.984 kB / 0.6319 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.6595, allocations: 51.95 kB / 0.632 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.6596, allocations: 47.77 kB / 0.632 GB, free: 3.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.6597, allocations: 15.98 kB / 0.632 GB, free: 3.086 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004765/0.6602, allocations: 379.2 kB / 0.6324 GB, free: 2.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6602, allocations: 4 kB / 0.6324 GB, free: 2.715 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009787/0.6612, allocations: 195.9 kB / 0.6326 GB, free: 2.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00033/0.6615, allocations: 143.1 kB / 0.6327 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.6629, allocations: 0.7783 MB / 0.6335 GB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6629, allocations: 0 / 0.6335 GB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.6633, allocations: 227.7 kB / 0.6337 GB, free: 1.367 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.6642, allocations: 158 kB / 0.6338 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.6664, allocations: 1.179 MB / 0.635 GB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.667, allocations: 0.9671 MB / 0.6359 GB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007584/0.6677, allocations: 203.1 kB / 0.6361 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.6679, allocations: 43.42 kB / 0.6362 GB, free: 14.74 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6679, allocations: 4 kB / 0.6362 GB, free: 14.74 MB / 458.7 MB Notification: Performance of Templates: time 0.01637/0.6843, allocations: 8.038 MB / 0.644 GB, free: 6.762 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches