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.0008711/0.0008711, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.213/1.213, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0007126/0.0007126, allocations: 90.36 kB / 271.2 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.2832/0.2832, allocations: 43.56 MB / 363.1 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003518, allocations: 15.98 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09042, allocations: 58.84 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003033/0.09349, allocations: 2.855 MB / 493.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.09584, allocations: 1.505 MB / 495.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.09613, allocations: 19.88 kB / 495.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.09653, allocations: 111.2 kB / 495.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.09691, allocations: 155 kB / 495.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009397/0.09786, allocations: 431.2 kB / 495.9 MB, free: 5.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.09865, allocations: 0.791 MB / 496.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.099, allocations: 230.3 kB / 496.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.09935, allocations: 286.5 kB / 497.2 MB, free: 4.492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003634/0.09973, allocations: 322.3 kB / 497.5 MB, free: 4.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.635e-05/0.0998, allocations: 20 kB / 497.5 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-05/0.09987, allocations: 20 kB / 497.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1, allocations: 159.3 kB / 497.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1003, allocations: 295.8 kB / 498 MB, free: 3.684 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.1007, allocations: 0.5339 MB / 498.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1007, allocations: 0 / 498.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1007, allocations: 0 / 498.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1007, allocations: 0 / 498.5 MB, free: 3.148 MB / 378.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.001914/0.1027, allocations: 1.044 MB / 499.5 MB, free: 2.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.1027, allocations: 12.03 kB / 499.6 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1028, allocations: 91.81 kB / 499.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.1037, allocations: 0.5701 MB / 0.4885 GB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.1037, allocations: 41.38 kB / 0.4885 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.1038, allocations: 48.38 kB / 0.4886 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1049, allocations: 0.6294 MB / 0.4892 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1049, allocations: 7.844 kB / 0.4892 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.105, allocations: 16 kB / 0.4892 GB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.105, allocations: 12 kB / 0.4892 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1061, allocations: 0.49 MB / 0.4897 GB, free: 44 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1547/0.2608, allocations: 2.644 MB / 0.4923 GB, free: 41.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2619, allocations: 0.5786 MB / 0.4929 GB, free: 41.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.2625, allocations: 282.4 kB / 0.4931 GB, free: 41.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.2626, allocations: 5.609 kB / 0.4931 GB, free: 41.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2626, allocations: 43.52 kB / 0.4932 GB, free: 41.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.164e-06/0.2626, allocations: 1.125 kB / 0.4932 GB, free: 41.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002326/0.2649, allocations: 1.207 MB / 0.4944 GB, free: 41.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.265, allocations: 137.4 kB / 0.4945 GB, free: 41.03 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.2658, allocations: 0.6473 MB / 0.4951 GB, free: 40.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.2658, allocations: 37.36 kB / 0.4952 GB, free: 40.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2661, allocations: 363.4 kB / 0.4955 GB, free: 40.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2662, allocations: 173.3 kB / 0.4957 GB, free: 40.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2662, allocations: 16.34 kB / 0.4957 GB, free: 40.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.2663, allocations: 334 kB / 0.496 GB, free: 40.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.2669, allocations: 274.2 kB / 0.4963 GB, free: 40.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.2676, allocations: 445.9 kB / 0.4967 GB, free: 40.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2688, allocations: 0.7025 MB / 0.4974 GB, free: 39.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2688, allocations: 1.281 kB / 0.4974 GB, free: 39.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00169/0.2705, allocations: 0.8618 MB / 0.4982 GB, free: 39.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.2706, allocations: 227.6 kB / 0.4984 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2706, allocations: 5.375 kB / 0.4984 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.2708, allocations: 60.88 kB / 0.4985 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.2717, allocations: 208.9 kB / 0.4987 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.2727, allocations: 1.495 MB / 0.5002 GB, free: 38.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.2732, allocations: 88.69 kB / 0.5002 GB, free: 38.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.2732, allocations: 31.16 kB / 0.5003 GB, free: 38.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-06/0.2733, allocations: 3.109 kB / 0.5003 GB, free: 38.23 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/0.2745, allocations: 0.7356 MB / 0.501 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2745, allocations: 5.062 kB / 0.501 GB, free: 38.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.2747, allocations: 58.52 kB / 0.501 GB, free: 38.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.2754, allocations: 201.1 kB / 0.5012 GB, free: 37.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008103/0.2763, allocations: 1.504 MB / 0.5027 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.2768, allocations: 87.34 kB / 0.5028 GB, free: 36.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.2768, allocations: 20.69 kB / 0.5028 GB, free: 36.6 MB / 378.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.0002435/0.277, allocations: 290.9 kB / 0.5031 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.2773, allocations: 77.73 kB / 0.5032 GB, free: 36.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.2775, allocations: 90.31 kB / 0.5033 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.2775, allocations: 6.25 kB / 0.5033 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2775, allocations: 3.422 kB / 0.5033 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2775, allocations: 3.062 kB / 0.5033 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2788, allocations: 0.8698 MB / 0.5041 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2788, allocations: 0 / 0.5041 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000632/0.2795, allocations: 119.4 kB / 0.5042 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2795, allocations: 2.906 kB / 0.5042 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.2795, allocations: 9.781 kB / 0.5042 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2795, allocations: 2.844 kB / 0.5042 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2795, allocations: 0 / 0.5042 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2813, allocations: 1.212 MB / 0.5054 GB, free: 35.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2815, allocations: 197 kB / 0.5056 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.2816, allocations: 16.38 kB / 0.5056 GB, free: 34.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.2821, allocations: 62.22 kB / 0.5057 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.2822, allocations: 36.36 kB / 0.5057 GB, free: 34.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2822, allocations: 15.98 kB / 0.5057 GB, free: 34.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005196/0.2827, allocations: 466.1 kB / 0.5062 GB, free: 34.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2827, allocations: 0 / 0.5062 GB, free: 34.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.2835, allocations: 196.6 kB / 0.5064 GB, free: 34.74 MB / 378.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.0001056/0.2836, allocations: 109.1 kB / 0.5065 GB, free: 34.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002223/0.2858, allocations: 1.248 MB / 0.5077 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2859, allocations: 0 / 0.5077 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005501/0.2864, allocations: 302.9 kB / 0.508 GB, free: 34.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009762/0.2874, allocations: 177.6 kB / 0.5081 GB, free: 34.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.2895, allocations: 1.773 MB / 0.5099 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2899, allocations: 0.9507 MB / 0.5108 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.2901, allocations: 46.75 kB / 0.5109 GB, free: 32.29 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2901, allocations: 0 / 0.5109 GB, free: 32.29 MB / 378.7 MB Notification: Performance of Templates: time 0.01009/0.3002, allocations: 10.02 MB / 0.5206 GB, free: 31.43 MB / 378.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/jenkins/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