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.00137/0.00137, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.442/1.442, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008464/0.0008464, allocations: 91.11 kB / 267.1 MB, free: 9.277 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.339/0.339, allocations: 43.47 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.236e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 58.83 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3215/0.4223, allocations: 95.87 MB / 0.5664 GB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.4226, allocations: 69.97 kB / 0.5665 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05793/0.4805, allocations: 20.16 MB / 0.5862 GB, free: 4.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4805, allocations: 0 / 0.5862 GB, free: 4.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.498e-05/0.4806, allocations: 16 kB / 0.5862 GB, free: 4.895 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.00182/0.4825, allocations: 0.9531 MB / 0.5871 GB, free: 3.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4825, allocations: 8.031 kB / 0.5871 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.4827, allocations: 86.97 kB / 0.5872 GB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.4838, allocations: 0.5587 MB / 0.5877 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.4838, allocations: 41 kB / 0.5878 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.484, allocations: 57.36 kB / 0.5878 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.4849, allocations: 0.5487 MB / 0.5884 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4849, allocations: 0 / 0.5884 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.485, allocations: 24 kB / 0.5884 GB, free: 2.496 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.485, allocations: 15.95 kB / 0.5884 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.4856, allocations: 366 kB / 0.5888 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/0.489, allocations: 2.676 MB / 0.5914 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.4898, allocations: 491.1 kB / 0.5918 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.4901, allocations: 198.6 kB / 0.592 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.4901, allocations: 8 kB / 0.592 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4902, allocations: 46.55 kB / 0.5921 GB, free: 14.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.4902, allocations: 0 / 0.5921 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001271/0.4915, allocations: 0.8089 MB / 0.5929 GB, free: 13.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.4915, allocations: 132.5 kB / 0.593 GB, free: 13.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.4921, allocations: 0.5468 MB / 0.5935 GB, free: 13.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.4922, allocations: 37.8 kB / 0.5936 GB, free: 13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.4924, allocations: 356.7 kB / 0.5939 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.4926, allocations: 173.5 kB / 0.5941 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.4926, allocations: 16 kB / 0.5941 GB, free: 12.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4927, allocations: 326 kB / 0.5944 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.4931, allocations: 201.5 kB / 0.5946 GB, free: 11.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.4935, allocations: 354.6 kB / 0.5949 GB, free: 11.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.4939, allocations: 248 kB / 0.5952 GB, free: 11.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4939, allocations: 3.938 kB / 0.5952 GB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001072/0.495, allocations: 0.7037 MB / 0.5959 GB, free: 10.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005934/0.4956, allocations: 1.746 MB / 0.5976 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4956, allocations: 4 kB / 0.5976 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002026/0.4958, allocations: 60.81 kB / 0.5976 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/0.4967, allocations: 203.8 kB / 0.5978 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.4979, allocations: 1.499 MB / 0.5993 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.4984, allocations: 95.78 kB / 0.5994 GB, free: 6.703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.4985, allocations: 20 kB / 0.5994 GB, free: 6.684 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.4985, allocations: 5.094 kB / 0.5994 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009383/0.4994, allocations: 0.6014 MB / 0.6 GB, free: 6.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4994, allocations: 7.984 kB / 0.6 GB, free: 6.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001304/0.4996, allocations: 56.83 kB / 0.6 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/0.5004, allocations: 204.3 kB / 0.6002 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.5015, allocations: 1.499 MB / 0.6017 GB, free: 4.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.502, allocations: 95.62 kB / 0.6018 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.5021, allocations: 24 kB / 0.6018 GB, free: 4.055 MB / 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 () * 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.0001321/0.5022, allocations: 144.7 kB / 0.602 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.5024, allocations: 75.06 kB / 0.602 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.5026, allocations: 90.08 kB / 0.6021 GB, free: 3.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5026, allocations: 4 kB / 0.6021 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5026, allocations: 11.98 kB / 0.6021 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5026, allocations: 0 / 0.6021 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5037, allocations: 0.8142 MB / 0.6029 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5037, allocations: 0 / 0.6029 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.5043, allocations: 123.8 kB / 0.603 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.5043, allocations: 0 / 0.603 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.5044, allocations: 16 kB / 0.6031 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5044, allocations: 0 / 0.6031 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5044, allocations: 4 kB / 0.6031 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.5055, allocations: 0.9884 MB / 0.604 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.5058, allocations: 196.2 kB / 0.6042 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.5059, allocations: 16 kB / 0.6042 GB, free: 1.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.5064, allocations: 67.89 kB / 0.6043 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5065, allocations: 43.88 kB / 0.6043 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.5066, allocations: 8 kB / 0.6043 GB, free: 1.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004546/0.507, allocations: 439.1 kB / 0.6048 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.507, allocations: 0 / 0.6048 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006828/0.5077, allocations: 200 kB / 0.605 GB, free: 0.7266 MB / 426.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.0001558/0.5079, allocations: 124 kB / 0.6051 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.5095, allocations: 1.041 MB / 0.6061 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5095, allocations: 0 / 0.6061 GB, free: 15.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.5098, allocations: 223.8 kB / 0.6063 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.5107, allocations: 168.9 kB / 0.6065 GB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.5125, allocations: 1.212 MB / 0.6076 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.513, allocations: 0.9707 MB / 0.6086 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006536/0.5137, allocations: 191.2 kB / 0.6088 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.5138, allocations: 43.42 kB / 0.6088 GB, free: 12.67 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5138, allocations: 0 / 0.6088 GB, free: 12.67 MB / 442.7 MB Notification: Performance of Templates: time 0.01356/0.5274, allocations: 8.984 MB / 0.6176 GB, free: 3.746 MB / 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/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_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches