Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002311/0.002311, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001072/0.001072, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2778/0.2778, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.198e-05, allocations: 8 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6444/0.7658, allocations: 95.86 MB / 0.5664 GB, free: 7.848 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/0.7662, allocations: 66.84 kB / 0.5665 GB, free: 7.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1621/0.9283, allocations: 20.14 MB / 0.5861 GB, free: 6.742 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.9284, allocations: 7.938 kB / 0.5861 GB, free: 6.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001484/0.9286, allocations: 20 kB / 0.5862 GB, free: 6.715 MB / 394.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.004736/0.9333, allocations: 0.944 MB / 0.5871 GB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.154e-05/0.9334, allocations: 11.97 kB / 0.5871 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006259/0.9341, allocations: 94.97 kB / 0.5872 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.9368, allocations: 0.5576 MB / 0.5877 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.937, allocations: 34.62 kB / 0.5878 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.9373, allocations: 63.89 kB / 0.5878 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.9394, allocations: 0.5485 MB / 0.5884 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.9395, allocations: 0 / 0.5884 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.9396, allocations: 19.38 kB / 0.5884 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.9397, allocations: 19.95 kB / 0.5884 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.9415, allocations: 377.5 kB / 0.5888 GB, free: 4.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009828/0.9514, allocations: 2.661 MB / 0.5914 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.9537, allocations: 487.5 kB / 0.5918 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008704/0.9547, allocations: 200.7 kB / 0.592 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.9548, allocations: 4 kB / 0.592 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.435e-05/0.9549, allocations: 45.98 kB / 0.5921 GB, free: 1.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 5.721e-06/0.9549, allocations: 0 / 0.5921 GB, free: 1.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003872/0.9588, allocations: 0.8025 MB / 0.5928 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.959, allocations: 144.2 kB / 0.593 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.9609, allocations: 0.5392 MB / 0.5935 GB, free: 132 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.9612, allocations: 40.27 kB / 0.5935 GB, free: 96 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005437/0.9617, allocations: 368.3 kB / 0.5939 GB, free: 15.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004716/0.9622, allocations: 174.2 kB / 0.5941 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.9624, allocations: 14.5 kB / 0.5941 GB, free: 15.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.9626, allocations: 333.2 kB / 0.5944 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.9637, allocations: 203 kB / 0.5946 GB, free: 15.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.965, allocations: 354.1 kB / 0.5949 GB, free: 14.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.9662, allocations: 245.3 kB / 0.5952 GB, free: 14.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.9663, allocations: 0 / 0.5952 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003142/0.9694, allocations: 0.6521 MB / 0.5958 GB, free: 14.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001122/0.9706, allocations: 1.742 MB / 0.5975 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.9707, allocations: 4 kB / 0.5975 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.9713, allocations: 59.62 kB / 0.5976 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.9745, allocations: 215.4 kB / 0.5978 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.9775, allocations: 1.493 MB / 0.5992 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.9795, allocations: 88.78 kB / 0.5993 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.9797, allocations: 27.12 kB / 0.5993 GB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9797, allocations: 11.5 kB / 0.5993 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/0.9825, allocations: 0.599 MB / 0.5999 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.9826, allocations: 8 kB / 0.5999 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.983, allocations: 61.78 kB / 0.6 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.9857, allocations: 198 kB / 0.6002 GB, free: 9.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-05/0.9858, allocations: 15.92 kB / 0.6002 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.9869, allocations: 74.34 kB / 0.6003 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.987, allocations: 23.44 kB / 0.6003 GB, free: 9.715 MB / 410.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.0003769/0.9874, allocations: 145.7 kB / 0.6004 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.9879, allocations: 83.09 kB / 0.6005 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003886/0.9883, allocations: 90.75 kB / 0.6006 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.9883, allocations: 4 kB / 0.6006 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9884, allocations: 0 / 0.6006 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/0.9884, allocations: 4 kB / 0.6006 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.9912, allocations: 0.8203 MB / 0.6014 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.9913, allocations: 0 / 0.6014 GB, free: 8.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002226/0.9935, allocations: 119.7 kB / 0.6015 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.9936, allocations: 0 / 0.6015 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.9937, allocations: 15.25 kB / 0.6015 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.682e-05/0.9938, allocations: 7.984 kB / 0.6015 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.9938, allocations: 0 / 0.6015 GB, free: 8.617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.9971, allocations: 0.9879 MB / 0.6025 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/0.9978, allocations: 206.6 kB / 0.6027 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.998, allocations: 10.75 kB / 0.6027 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.9996, allocations: 63.88 kB / 0.6028 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.9999, allocations: 42.58 kB / 0.6028 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/1, allocations: 15.61 kB / 0.6028 GB, free: 7.504 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00125/1.001, allocations: 430.8 kB / 0.6032 GB, free: 7.184 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.001, allocations: 4 kB / 0.6032 GB, free: 7.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002055/1.003, allocations: 199.7 kB / 0.6034 GB, free: 7.012 MB / 410.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.0003937/1.004, allocations: 119 kB / 0.6035 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00449/1.008, allocations: 0.9851 MB / 0.6045 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.008, allocations: 1.188 kB / 0.6045 GB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.009, allocations: 223.9 kB / 0.6047 GB, free: 5.941 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/1.012, allocations: 177.7 kB / 0.6049 GB, free: 5.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/1.017, allocations: 1.25 MB / 0.6061 GB, free: 4.648 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.018, allocations: 0.96 MB / 0.6071 GB, free: 3.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/1.019, allocations: 59.36 kB / 0.6071 GB, free: 3.605 MB / 410.7 MB Notification: Performance of SimCode: time 1.442e-06/1.019, allocations: 0 / 0.6071 GB, free: 3.605 MB / 410.7 MB Notification: Performance of Templates: time 0.02513/1.044, allocations: 9.84 MB / 0.6167 GB, free: 9.891 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches