Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008988/0.000899, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 94.36 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3922/0.3922, allocations: 43.56 MB / 363.1 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 16 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5479, allocations: 96.03 MB / 0.5737 GB, free: 5.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.5482, allocations: 67.97 kB / 0.5738 GB, free: 5.742 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06253/0.6107, allocations: 20.2 MB / 0.5935 GB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6108, allocations: 0 / 0.5935 GB, free: 1.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.6109, allocations: 23.94 kB / 0.5935 GB, free: 1.527 MB / 410.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.003342/0.6143, allocations: 1.083 MB / 0.5946 GB, free: 400 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.6143, allocations: 11.5 kB / 0.5946 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.6147, allocations: 95.89 kB / 0.5947 GB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001546/0.6163, allocations: 0.6189 MB / 0.5953 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/0.6164, allocations: 37.38 kB / 0.5953 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6166, allocations: 60.28 kB / 0.5954 GB, free: 15.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.6179, allocations: 0.6296 MB / 0.596 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.6179, allocations: 192 / 0.596 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.618, allocations: 19.94 kB / 0.596 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.618, allocations: 12 kB / 0.596 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.6191, allocations: 0.4978 MB / 0.5965 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.6234, allocations: 2.665 MB / 0.5991 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6245, allocations: 0.5813 MB / 0.5997 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005666/0.6251, allocations: 282.5 kB / 0.6 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.574e-05/0.6252, allocations: 7.984 kB / 0.6 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.6252, allocations: 38.56 kB / 0.6 GB, free: 10.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.6252, allocations: 0 / 0.6 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002646/0.6279, allocations: 1.202 MB / 0.6012 GB, free: 9.402 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.628, allocations: 136.5 kB / 0.6013 GB, free: 9.238 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009535/0.6289, allocations: 0.6567 MB / 0.602 GB, free: 8.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.629, allocations: 37.7 kB / 0.602 GB, free: 8.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.6293, allocations: 356 kB / 0.6023 GB, free: 8.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.6294, allocations: 173.5 kB / 0.6025 GB, free: 8.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.6295, allocations: 16 kB / 0.6025 GB, free: 7.992 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6296, allocations: 325.9 kB / 0.6028 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.6302, allocations: 289.1 kB / 0.6031 GB, free: 7.387 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.631, allocations: 444.6 kB / 0.6035 GB, free: 6.883 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.6323, allocations: 0.7015 MB / 0.6042 GB, free: 6.121 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.6323, allocations: 4 kB / 0.6042 GB, free: 6.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001773/0.6341, allocations: 0.8583 MB / 0.6051 GB, free: 5.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.6343, allocations: 231.5 kB / 0.6053 GB, free: 4.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6343, allocations: 4 kB / 0.6053 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.6346, allocations: 64.81 kB / 0.6053 GB, free: 4.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.6355, allocations: 200.5 kB / 0.6055 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.6369, allocations: 1.499 MB / 0.607 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/0.6375, allocations: 95.56 kB / 0.6071 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.6375, allocations: 20 kB / 0.6071 GB, free: 2.945 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.6376, allocations: 8.062 kB / 0.6071 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001406/0.639, allocations: 0.7392 MB / 0.6078 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.639, allocations: 8.469 kB / 0.6078 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.6391, allocations: 60.81 kB / 0.6079 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.6399, allocations: 199.7 kB / 0.6081 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.6411, allocations: 1.506 MB / 0.6096 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.6417, allocations: 87.78 kB / 0.6096 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.6417, allocations: 28 kB / 0.6097 GB, free: 180 kB / 426.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.0004209/0.6421, allocations: 293.6 kB / 0.61 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6423, allocations: 79.05 kB / 0.61 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.6425, allocations: 90.28 kB / 0.6101 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6425, allocations: 4 kB / 0.6101 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6425, allocations: 0 / 0.6101 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6425, allocations: 3.984 kB / 0.6101 GB, free: 15.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.6439, allocations: 0.8452 MB / 0.6109 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6439, allocations: 4 kB / 0.611 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006176/0.6446, allocations: 111.9 kB / 0.6111 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.6446, allocations: 8 kB / 0.6111 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.831e-05/0.6446, allocations: 12 kB / 0.6111 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6446, allocations: 4 kB / 0.6111 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6446, allocations: 0 / 0.6111 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.6465, allocations: 1.203 MB / 0.6123 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/0.6468, allocations: 208.1 kB / 0.6125 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.271e-05/0.6469, allocations: 12 kB / 0.6125 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.6474, allocations: 63.94 kB / 0.6125 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6476, allocations: 43.81 kB / 0.6126 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.6476, allocations: 19.98 kB / 0.6126 GB, free: 13.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006388/0.6483, allocations: 455 kB / 0.613 GB, free: 12.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6483, allocations: 4 kB / 0.613 GB, free: 12.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.6491, allocations: 208 kB / 0.6132 GB, free: 12.43 MB / 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 () * 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.0001794/0.6493, allocations: 115.1 kB / 0.6133 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.6517, allocations: 1.249 MB / 0.6146 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6517, allocations: 8 kB / 0.6146 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000616/0.6524, allocations: 305.2 kB / 0.6149 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6535, allocations: 168.9 kB / 0.615 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.6563, allocations: 1.734 MB / 0.6167 GB, free: 8.805 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.6569, allocations: 0.9498 MB / 0.6176 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006187/0.6575, allocations: 140.8 kB / 0.6178 GB, free: 7.688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.6577, allocations: 47.42 kB / 0.6178 GB, free: 7.641 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6577, allocations: 0 / 0.6178 GB, free: 7.641 MB / 442.7 MB Notification: Performance of Templates: time 0.01534/0.6731, allocations: 7.612 MB / 0.6252 GB, free: 96 kB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches