Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,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_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009633/0.0009633, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.258/1.258, allocations: 221.3 MB / 236 MB, free: 2.969 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.0008432/0.0008433, allocations: 86.72 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1818/0.1818, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.015e-05, allocations: 8 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.6151, allocations: 96.71 MB / 0.5961 GB, free: 8.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.6154, allocations: 63.97 kB / 0.5962 GB, free: 8.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05717/0.6726, allocations: 20.14 MB / 0.6159 GB, free: 4.336 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.6726, allocations: 0 / 0.6159 GB, free: 4.336 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.222e-05/0.6727, allocations: 20 kB / 0.6159 GB, free: 4.316 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.001646/0.6743, allocations: 0.9503 MB / 0.6168 GB, free: 3.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6744, allocations: 8.031 kB / 0.6168 GB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.6745, allocations: 90.95 kB / 0.6169 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.6755, allocations: 0.5509 MB / 0.6174 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.6756, allocations: 37 kB / 0.6175 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.6757, allocations: 59.91 kB / 0.6175 GB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.6765, allocations: 0.555 MB / 0.6181 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6765, allocations: 4 kB / 0.6181 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.6766, allocations: 16 kB / 0.6181 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.6766, allocations: 12 kB / 0.6181 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.6772, allocations: 373.9 kB / 0.6185 GB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003353/0.6806, allocations: 2.667 MB / 0.6211 GB, free: 14.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/0.6813, allocations: 472 kB / 0.6215 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.6817, allocations: 198.6 kB / 0.6217 GB, free: 14.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.6817, allocations: 7.984 kB / 0.6217 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.6818, allocations: 47.03 kB / 0.6218 GB, free: 14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.044e-06/0.6818, allocations: 0 / 0.6218 GB, free: 14 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.001291/0.6831, allocations: 0.7971 MB / 0.6225 GB, free: 13.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.6832, allocations: 136.5 kB / 0.6227 GB, free: 13.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006103/0.6838, allocations: 0.5468 MB / 0.6232 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.6838, allocations: 41.8 kB / 0.6232 GB, free: 12.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.6841, allocations: 356 kB / 0.6236 GB, free: 12.08 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.6842, allocations: 169.5 kB / 0.6237 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.6842, allocations: 19.94 kB / 0.6238 GB, free: 11.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6844, allocations: 326 kB / 0.6241 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.6847, allocations: 197.5 kB / 0.6243 GB, free: 11.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.6852, allocations: 354.6 kB / 0.6246 GB, free: 10.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.6856, allocations: 244.5 kB / 0.6248 GB, free: 10.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6856, allocations: 0 / 0.6248 GB, free: 10.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001107/0.6867, allocations: 0.699 MB / 0.6255 GB, free: 10.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006862/0.6874, allocations: 1.749 MB / 0.6272 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6874, allocations: 4 kB / 0.6272 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.6876, allocations: 60.81 kB / 0.6273 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008986/0.6885, allocations: 207.7 kB / 0.6275 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.6898, allocations: 1.491 MB / 0.6289 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005887/0.6904, allocations: 95.78 kB / 0.629 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.6905, allocations: 24 kB / 0.6291 GB, free: 6.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.6905, allocations: 0.9375 kB / 0.6291 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009412/0.6914, allocations: 0.6121 MB / 0.6297 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6915, allocations: 4 kB / 0.6297 GB, free: 5.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.6916, allocations: 65.2 kB / 0.6297 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.6924, allocations: 199.8 kB / 0.6299 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.6935, allocations: 1.491 MB / 0.6314 GB, free: 3.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/0.6941, allocations: 95.62 kB / 0.6315 GB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.6941, allocations: 24 kB / 0.6315 GB, free: 3.496 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.6943, allocations: 138.9 kB / 0.6316 GB, free: 3.355 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.6944, allocations: 86.98 kB / 0.6317 GB, free: 3.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.6947, allocations: 90 kB / 0.6318 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.6947, allocations: 8 kB / 0.6318 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6947, allocations: 0 / 0.6318 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6947, allocations: 3.984 kB / 0.6318 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.6958, allocations: 0.8219 MB / 0.6326 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.6958, allocations: 0 / 0.6326 GB, free: 2.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.6964, allocations: 119.9 kB / 0.6327 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6964, allocations: 3.938 kB / 0.6327 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.6965, allocations: 15.98 kB / 0.6327 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6965, allocations: 0 / 0.6327 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6965, allocations: 4 kB / 0.6327 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6977, allocations: 0.9959 MB / 0.6337 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.6979, allocations: 192.2 kB / 0.6339 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.698, allocations: 19.98 kB / 0.6339 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.6986, allocations: 59.94 kB / 0.634 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.6987, allocations: 39.89 kB / 0.634 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.6987, allocations: 16 kB / 0.634 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004521/0.6992, allocations: 427.2 kB / 0.6344 GB, free: 376 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6992, allocations: 0 / 0.6344 GB, free: 376 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007296/0.6999, allocations: 215.9 kB / 0.6346 GB, free: 160 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (44): * Single equations (assignments): 44 * 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.0001568/0.7001, allocations: 111.2 kB / 0.6347 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.7017, allocations: 1.041 MB / 0.6358 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7017, allocations: 0 / 0.6358 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.7021, allocations: 216.5 kB / 0.636 GB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008112/0.7029, allocations: 173.8 kB / 0.6361 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.7049, allocations: 1.211 MB / 0.6373 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.7054, allocations: 0.9706 MB / 0.6383 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007001/0.7061, allocations: 187.2 kB / 0.6384 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.7063, allocations: 43.42 kB / 0.6385 GB, free: 12.12 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.7063, allocations: 0 / 0.6385 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Templates: time 0.01489/0.7212, allocations: 8.949 MB / 0.6472 GB, free: 3.23 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches