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.00087/0.00087, allocations: 178.7 kB / 18.09 MB, free: 3.738 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.168/1.168, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007777/0.0007777, allocations: 101.4 kB / 293.3 MB, free: 10.58 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.2654/0.2654, allocations: 44.15 MB / 388.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 12 kB / 461.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2636, allocations: 61.88 MB / 0.5107 GB, free: 37.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.364, allocations: 96.82 MB / 0.6053 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001878/0.3642, allocations: 75.95 kB / 0.6053 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05265/0.4169, allocations: 20.18 MB / 0.625 GB, free: 9.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4169, allocations: 4 kB / 0.6251 GB, free: 9.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.799e-05/0.417, allocations: 24.38 kB / 0.6251 GB, free: 9.906 MB / 442.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.0018/0.4188, allocations: 1.079 MB / 0.6261 GB, free: 8.773 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.4189, allocations: 8.031 kB / 0.6261 GB, free: 8.766 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.419, allocations: 87.91 kB / 0.6262 GB, free: 8.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009327/0.4199, allocations: 0.61 MB / 0.6268 GB, free: 8.031 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.881e-05/0.42, allocations: 41.38 kB / 0.6269 GB, free: 7.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.4201, allocations: 64.27 kB / 0.6269 GB, free: 7.926 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.421, allocations: 0.6258 MB / 0.6275 GB, free: 7.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4211, allocations: 4.125 kB / 0.6275 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.4211, allocations: 19.94 kB / 0.6276 GB, free: 7.227 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.4211, allocations: 12 kB / 0.6276 GB, free: 7.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.4221, allocations: 0.5001 MB / 0.6281 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.4251, allocations: 2.659 MB / 0.6306 GB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.4261, allocations: 0.577 MB / 0.6312 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.4266, allocations: 278.5 kB / 0.6315 GB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.4267, allocations: 8.031 kB / 0.6315 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.4267, allocations: 38.56 kB / 0.6315 GB, free: 3.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 1.854e-06/0.4267, allocations: 0 / 0.6315 GB, free: 3.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002211/0.4289, allocations: 1.208 MB / 0.6327 GB, free: 1.801 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.429, allocations: 132.5 kB / 0.6328 GB, free: 1.641 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.4298, allocations: 0.6529 MB / 0.6335 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4298, allocations: 37.7 kB / 0.6335 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.43, allocations: 356 kB / 0.6338 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.4302, allocations: 173.5 kB / 0.634 GB, free: 424 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.4302, allocations: 12 kB / 0.634 GB, free: 412 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.4303, allocations: 333.9 kB / 0.6343 GB, free: 72 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005633/0.4309, allocations: 285.1 kB / 0.6346 GB, free: 15.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.4315, allocations: 446.1 kB / 0.635 GB, free: 15.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.4327, allocations: 0.7065 MB / 0.6357 GB, free: 14.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4327, allocations: 4 kB / 0.6357 GB, free: 14.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001506/0.4342, allocations: 0.8695 MB / 0.6366 GB, free: 13.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.4343, allocations: 219.3 kB / 0.6368 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.4343, allocations: 4 kB / 0.6368 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/0.4345, allocations: 68.75 kB / 0.6369 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.4354, allocations: 207.7 kB / 0.6371 GB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.4365, allocations: 1.494 MB / 0.6385 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.437, allocations: 87.78 kB / 0.6386 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.4371, allocations: 24 kB / 0.6386 GB, free: 11.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/0.4371, allocations: 4 kB / 0.6386 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001306/0.4384, allocations: 0.742 MB / 0.6393 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4384, allocations: 7.938 kB / 0.6394 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.4385, allocations: 61.34 kB / 0.6394 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.4393, allocations: 199.7 kB / 0.6396 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/0.4403, allocations: 1.491 MB / 0.6411 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004817/0.4408, allocations: 95.69 kB / 0.6412 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.4409, allocations: 20 kB / 0.6412 GB, free: 8.594 MB / 458.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 () * Number of clocked 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.000321/0.4412, allocations: 298.2 kB / 0.6415 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4413, allocations: 79.06 kB / 0.6415 GB, free: 8.215 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.4415, allocations: 82.22 kB / 0.6416 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4415, allocations: 8 kB / 0.6416 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4415, allocations: 0 / 0.6416 GB, free: 8.125 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.4415, allocations: 3.984 kB / 0.6416 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4426, allocations: 0.8454 MB / 0.6424 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4426, allocations: 0 / 0.6424 GB, free: 7.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.4432, allocations: 115.9 kB / 0.6426 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4432, allocations: 0 / 0.6426 GB, free: 7.105 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.4432, allocations: 16 kB / 0.6426 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4432, allocations: 7.938 kB / 0.6426 GB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4432, allocations: 4 kB / 0.6426 GB, free: 7.078 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.445, allocations: 1.207 MB / 0.6438 GB, free: 5.848 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.4452, allocations: 200.2 kB / 0.644 GB, free: 5.633 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.4453, allocations: 12 kB / 0.644 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/0.4458, allocations: 63.94 kB / 0.644 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.4459, allocations: 39.88 kB / 0.6441 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.4459, allocations: 15.98 kB / 0.6441 GB, free: 5.504 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000548/0.4465, allocations: 470.9 kB / 0.6445 GB, free: 5.047 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4465, allocations: 0 / 0.6445 GB, free: 5.047 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007025/0.4472, allocations: 208 kB / 0.6447 GB, free: 4.844 MB / 458.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 () * Number of clocked 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.000143/0.4474, allocations: 119.1 kB / 0.6448 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002183/0.4495, allocations: 1.248 MB / 0.6461 GB, free: 3.445 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4496, allocations: 0 / 0.6461 GB, free: 3.445 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.4501, allocations: 315 kB / 0.6464 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/0.4511, allocations: 171.4 kB / 0.6465 GB, free: 2.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4533, allocations: 1.723 MB / 0.6482 GB, free: 1.223 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.4537, allocations: 0.9537 MB / 0.6491 GB, free: 248 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004949/0.4542, allocations: 132.8 kB / 0.6493 GB, free: 112 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.4544, allocations: 47.44 kB / 0.6493 GB, free: 64 kB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4544, allocations: 0 / 0.6493 GB, free: 64 kB / 458.7 MB Notification: Performance of Templates: time 0.01154/0.466, allocations: 7.597 MB / 0.6567 GB, free: 8.539 MB / 474.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/jenkins1/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