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.001003/0.001004, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 87.83 kB / 261.7 MB, free: 1.617 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.1864/0.1864, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.574e-05/1.576e-05, allocations: 0 / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.4815, allocations: 94.93 MB / 0.5586 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.4817, allocations: 70.22 kB / 0.5587 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03988/0.5216, allocations: 14.6 MB / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5216, allocations: 0 / 0.573 GB, free: 4.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.731e-05/0.5217, allocations: 23.94 kB / 0.573 GB, free: 4.48 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.001676/0.5234, allocations: 0.9577 MB / 0.5739 GB, free: 3.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5235, allocations: 8.031 kB / 0.5739 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.5236, allocations: 90.92 kB / 0.574 GB, free: 3.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.5245, allocations: 0.5623 MB / 0.5746 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.5246, allocations: 16 kB / 0.5746 GB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.5247, allocations: 35 kB / 0.5746 GB, free: 2.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005765/0.5252, allocations: 336 kB / 0.5749 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.5259, allocations: 0.4895 MB / 0.5754 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.526, allocations: 3.906 kB / 0.5754 GB, free: 2.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.526, allocations: 4 kB / 0.5754 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.526, allocations: 11.95 kB / 0.5754 GB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.5293, allocations: 2.615 MB / 0.578 GB, free: 15.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.5299, allocations: 452.8 kB / 0.5784 GB, free: 15.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.5302, allocations: 183.9 kB / 0.5786 GB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.5302, allocations: 11.92 kB / 0.5786 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5302, allocations: 42.5 kB / 0.5786 GB, free: 15.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.5302, allocations: 0 / 0.5786 GB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.001146/0.5314, allocations: 0.7715 MB / 0.5794 GB, free: 14.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.5315, allocations: 132.5 kB / 0.5795 GB, free: 14.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.532, allocations: 0.4975 MB / 0.58 GB, free: 14.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.532, allocations: 29.8 kB / 0.58 GB, free: 14.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5322, allocations: 357.2 kB / 0.5804 GB, free: 13.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.5324, allocations: 162.1 kB / 0.5805 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.5324, allocations: 0 / 0.5805 GB, free: 13.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5325, allocations: 389.1 kB / 0.5809 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.5328, allocations: 197.9 kB / 0.5811 GB, free: 13.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.5332, allocations: 347.1 kB / 0.5814 GB, free: 12.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.5335, allocations: 232.5 kB / 0.5816 GB, free: 12.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5335, allocations: 4 kB / 0.5816 GB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0008397/0.5344, allocations: 0.6208 MB / 0.5823 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005833/0.535, allocations: 1.746 MB / 0.584 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.535, allocations: 4 kB / 0.584 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.535, allocations: 8 kB / 0.584 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.5357, allocations: 166.2 kB / 0.5841 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.5357, allocations: 7.938 kB / 0.5841 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005137/0.5362, allocations: 83.53 kB / 0.5842 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.5362, allocations: 22.94 kB / 0.5842 GB, free: 10.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/0.5363, allocations: 4 kB / 0.5842 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000732/0.537, allocations: 0.502 MB / 0.5847 GB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.537, allocations: 12.12 kB / 0.5847 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.537, allocations: 8 kB / 0.5847 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.5376, allocations: 155.3 kB / 0.5849 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5376, allocations: 11.95 kB / 0.5849 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.5381, allocations: 75.62 kB / 0.585 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.5382, allocations: 35.38 kB / 0.585 GB, free: 9.473 MB / 394.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 (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.0001211/0.5383, allocations: 124.6 kB / 0.5851 GB, free: 9.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.5384, allocations: 71.06 kB / 0.5852 GB, free: 9.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.5386, allocations: 85.03 kB / 0.5853 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.5386, allocations: 8.031 kB / 0.5853 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5386, allocations: 3.984 kB / 0.5853 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.5386, allocations: 7.953 kB / 0.5853 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009302/0.5396, allocations: 0.7393 MB / 0.586 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5396, allocations: 4 kB / 0.586 GB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.5402, allocations: 119.6 kB / 0.5861 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5402, allocations: 4 kB / 0.5861 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.5403, allocations: 7.25 kB / 0.5862 GB, free: 8.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.5403, allocations: 3.984 kB / 0.5862 GB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5403, allocations: 7.953 kB / 0.5862 GB, free: 8.453 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.5413, allocations: 0.9587 MB / 0.5871 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.5415, allocations: 196.9 kB / 0.5873 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.5416, allocations: 8 kB / 0.5873 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.5422, allocations: 58.75 kB / 0.5873 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.119e-05/0.5423, allocations: 39.12 kB / 0.5874 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.5423, allocations: 11.38 kB / 0.5874 GB, free: 7.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003687/0.5427, allocations: 381.6 kB / 0.5878 GB, free: 7.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5427, allocations: 8 kB / 0.5878 GB, free: 7.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006854/0.5434, allocations: 168 kB / 0.5879 GB, free: 6.926 MB / 394.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.0001385/0.5435, allocations: 112.6 kB / 0.588 GB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.5446, allocations: 0.7658 MB / 0.5888 GB, free: 6.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5446, allocations: 4.062 kB / 0.5888 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.5449, allocations: 209.8 kB / 0.589 GB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.5457, allocations: 158.5 kB / 0.5891 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.5476, allocations: 1.191 MB / 0.5903 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.5481, allocations: 0.9687 MB / 0.5912 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006674/0.5488, allocations: 207 kB / 0.5914 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5489, allocations: 39.42 kB / 0.5915 GB, free: 3.652 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5489, allocations: 0 / 0.5915 GB, free: 3.652 MB / 394.7 MB Notification: Performance of Templates: time 0.01206/0.561, allocations: 7.356 MB / 0.5987 GB, free: 12.34 MB / 410.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/jenkins/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