Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 105.5 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009556/0.0009556, allocations: 43.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3107, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002848/0.3136, allocations: 2.014 MB / 402.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.3193, allocations: 3.667 MB / 406.4 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.3195, allocations: 11.88 kB / 406.4 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3201, allocations: 183.1 kB / 406.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3203, allocations: 47.56 kB / 406.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004255/0.3245, allocations: 1.936 MB / 408.6 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.3251, allocations: 498.8 kB / 409.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.3253, allocations: 45.08 kB / 409.1 MB, free: 488 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3255, allocations: 175.4 kB / 409.3 MB, free: 312 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3257, allocations: 171.1 kB / 409.4 MB, free: 140 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.3258, allocations: 24 kB / 409.5 MB, free: 116 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.328, allocations: 1.79 MB / 411.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.3282, allocations: 123.6 kB / 411.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.3283, allocations: 158.9 kB / 411.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.3301, allocations: 1.777 MB / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3301, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3301, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.3301, allocations: 0 / 413.3 MB, free: 12.26 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00157/0.3317, allocations: 0.9221 MB / 414.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3317, allocations: 8.031 kB / 414.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.3318, allocations: 52.59 kB / 414.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.3323, allocations: 366.5 kB / 414.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3323, allocations: 16.22 kB / 414.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.3324, allocations: 31.98 kB / 414.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.3329, allocations: 307.1 kB / 415 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3329, allocations: 3.984 kB / 415 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.333, allocations: 8 kB / 415 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.333, allocations: 4 kB / 415 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.3333, allocations: 148.7 kB / 415.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3344, allocations: 0.6718 MB / 415.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.3351, allocations: 320.9 kB / 416.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3353, allocations: 108.8 kB / 416.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3353, allocations: 4 kB / 416.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3353, allocations: 38.88 kB / 416.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.3353, allocations: 0 / 416.3 MB, free: 9.074 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007303/0.3361, allocations: 381.2 kB / 416.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.3363, allocations: 367.8 kB / 417 MB, free: 8.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.3367, allocations: 413.8 kB / 417.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3367, allocations: 37.7 kB / 417.5 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3369, allocations: 192.9 kB / 417.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.337, allocations: 87.27 kB / 417.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3371, allocations: 101.7 kB / 417.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3372, allocations: 350.8 kB / 418.2 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.3376, allocations: 208.4 kB / 418.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.338, allocations: 326.3 kB / 418.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.3386, allocations: 393.6 kB / 419.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3386, allocations: 0 / 419.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001086/0.3397, allocations: 0.6576 MB / 419.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3397, allocations: 4 kB / 419.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.3397, allocations: 8 kB / 419.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.3402, allocations: 126.5 kB / 419.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.3405, allocations: 63.91 kB / 419.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.3439, allocations: 4.562 MB / 424.5 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3442, allocations: 51.59 kB / 424.5 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3442, allocations: 15.98 kB / 424.6 MB, free: 180 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.3444, allocations: 180.7 kB / 424.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.3445, allocations: 43.66 kB / 424.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.3446, allocations: 47.69 kB / 424.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3446, allocations: 4 kB / 424.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.3446, allocations: 0 / 424.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3446, allocations: 7.922 kB / 424.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.345, allocations: 345.3 kB / 425.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.345, allocations: 0 / 425.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.3453, allocations: 43.97 kB / 425.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3453, allocations: 7.938 kB / 425.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.3454, allocations: 8 kB / 425.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3454, allocations: 3.984 kB / 425.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3454, allocations: 0 / 425.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.3461, allocations: 0.4989 MB / 425.7 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.3461, allocations: 120.7 kB / 425.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.3462, allocations: 12 kB / 425.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.3464, allocations: 15.98 kB / 425.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3464, allocations: 11.98 kB / 425.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3465, allocations: 7.984 kB / 425.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002845/0.3468, allocations: 271.1 kB / 426.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3468, allocations: 0 / 426.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001847/0.3486, allocations: 0.652 MB / 426.8 MB, free: 13.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/0.35, allocations: 0.6773 MB / 427.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3514, allocations: 0.9461 MB / 428.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.3514, allocations: 8.047 kB / 428.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3516, allocations: 119.9 kB / 428.6 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.3523, allocations: 119.1 kB / 428.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3537, allocations: 0.9139 MB / 429.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3541, allocations: 0.8458 MB / 430.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3543, allocations: 62.92 kB / 430.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.3544, allocations: 27.44 kB / 430.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3544, allocations: 0 / 430.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of Templates: time 0.02063/0.3751, allocations: 12.91 MB / 443.4 MB, free: 13.1 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches