Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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,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") translateModel(ModelicaTest.Blocks.Continuous,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.00121, allocations: 176.1 kB / 16.76 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.601/1.601, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008037/0.0008037, allocations: 82.06 kB / 271.3 MB, free: 8.25 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.3858/0.3858, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004109, allocations: 15.98 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 58.83 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5475, allocations: 95.78 MB / 0.5735 GB, free: 6.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.5478, allocations: 65.22 kB / 0.5735 GB, free: 6.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04296/0.5907, allocations: 14.76 MB / 0.5879 GB, free: 7.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5908, allocations: 4 kB / 0.5879 GB, free: 7.438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.5909, allocations: 20 kB / 0.588 GB, free: 7.418 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.002883/0.5938, allocations: 1.088 MB / 0.589 GB, free: 6.277 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5938, allocations: 8.031 kB / 0.589 GB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/0.5942, allocations: 91.91 kB / 0.5891 GB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.5958, allocations: 0.6138 MB / 0.5897 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.521e-05/0.5959, allocations: 37.38 kB / 0.5898 GB, free: 5.488 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.596, allocations: 65.12 kB / 0.5898 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.5975, allocations: 0.6296 MB / 0.5904 GB, free: 4.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.378e-05/0.5975, allocations: 4.172 kB / 0.5904 GB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.646e-05/0.5976, allocations: 19.94 kB / 0.5905 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.5976, allocations: 12 kB / 0.5905 GB, free: 4.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.5989, allocations: 0.4939 MB / 0.591 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004535/0.6034, allocations: 2.705 MB / 0.5936 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6046, allocations: 0.5883 MB / 0.5942 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.6052, allocations: 274.5 kB / 0.5944 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.833e-05/0.6052, allocations: 4 kB / 0.5944 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6053, allocations: 46.5 kB / 0.5945 GB, free: 480 kB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.6053, allocations: 0 / 0.5945 GB, free: 480 kB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002712/0.608, allocations: 1.202 MB / 0.5957 GB, free: 15.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.6081, allocations: 136.5 kB / 0.5958 GB, free: 15.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6092, allocations: 0.6529 MB / 0.5964 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.6093, allocations: 41.64 kB / 0.5965 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6096, allocations: 360 kB / 0.5968 GB, free: 14.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6098, allocations: 173.5 kB / 0.597 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.6098, allocations: 15.94 kB / 0.597 GB, free: 13.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.61, allocations: 333.9 kB / 0.5973 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.6106, allocations: 289.1 kB / 0.5976 GB, free: 13.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.6114, allocations: 440.7 kB / 0.598 GB, free: 12.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6128, allocations: 0.7293 MB / 0.5987 GB, free: 11.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6128, allocations: 0 / 0.5987 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001701/0.6145, allocations: 0.8337 MB / 0.5995 GB, free: 11.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.6147, allocations: 230 kB / 0.5997 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6147, allocations: 4 kB / 0.5998 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.6147, allocations: 8 kB / 0.5998 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.6154, allocations: 159.7 kB / 0.5999 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.6155, allocations: 15.94 kB / 0.5999 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005776/0.616, allocations: 91.62 kB / 0.6 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/0.6161, allocations: 24 kB / 0.6 GB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.6161, allocations: 8 kB / 0.6 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/0.6176, allocations: 0.7111 MB / 0.6007 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6176, allocations: 4.531 kB / 0.6007 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6176, allocations: 12 kB / 0.6008 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.6182, allocations: 151.8 kB / 0.6009 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.6182, allocations: 17.14 kB / 0.6009 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.6188, allocations: 87.55 kB / 0.601 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.6189, allocations: 27.98 kB / 0.601 GB, free: 9.496 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0003752/0.6193, allocations: 290.4 kB / 0.6013 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.6194, allocations: 75.06 kB / 0.6014 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.6196, allocations: 90.28 kB / 0.6015 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6196, allocations: 12.03 kB / 0.6015 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.6196, allocations: 0 / 0.6015 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.6196, allocations: 4 kB / 0.6015 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.621, allocations: 0.8415 MB / 0.6023 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.621, allocations: 3.984 kB / 0.6023 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006315/0.6216, allocations: 111.9 kB / 0.6024 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.6216, allocations: 4 kB / 0.6024 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.414e-05/0.6217, allocations: 19.86 kB / 0.6024 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.6217, allocations: 4 kB / 0.6024 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6217, allocations: 7.938 kB / 0.6024 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.6238, allocations: 1.211 MB / 0.6036 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.6241, allocations: 200.1 kB / 0.6038 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.6242, allocations: 16 kB / 0.6038 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/0.6248, allocations: 63.94 kB / 0.6039 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.6249, allocations: 39.88 kB / 0.6039 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.6249, allocations: 12 kB / 0.6039 GB, free: 6.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006849/0.6256, allocations: 467 kB / 0.6044 GB, free: 5.941 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6256, allocations: 0 / 0.6044 GB, free: 5.941 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008027/0.6264, allocations: 200 kB / 0.6046 GB, free: 5.746 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 () * 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.0001735/0.6266, allocations: 123.2 kB / 0.6047 GB, free: 5.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002145/0.6288, allocations: 1.018 MB / 0.6057 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6288, allocations: 0 / 0.6057 GB, free: 4.602 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.6294, allocations: 313.2 kB / 0.606 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6305, allocations: 165.1 kB / 0.6061 GB, free: 4.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.6334, allocations: 1.717 MB / 0.6078 GB, free: 2.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.634, allocations: 0.9536 MB / 0.6088 GB, free: 1.414 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006063/0.6346, allocations: 156.9 kB / 0.6089 GB, free: 1.258 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.6347, allocations: 47.44 kB / 0.6089 GB, free: 1.211 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.6348, allocations: 3.938 kB / 0.609 GB, free: 1.207 MB / 426.7 MB Notification: Performance of Templates: time 0.01407/0.6488, allocations: 6.783 MB / 0.6156 GB, free: 10.48 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches