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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108.9 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008134/0.0008138, allocations: 39.94 kB / 350 MB, free: 112 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2142, allocations: 49.43 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002745/0.217, allocations: 2.051 MB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.2222, allocations: 4.058 MB / 405.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2224, allocations: 7.938 kB / 405.6 MB, free: 27.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.2229, allocations: 155.3 kB / 405.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.223, allocations: 43.62 kB / 405.8 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002744/0.2258, allocations: 1.551 MB / 407.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.2261, allocations: 474.6 kB / 407.8 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.2263, allocations: 50.61 kB / 407.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.2264, allocations: 167.3 kB / 408 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.2265, allocations: 171.1 kB / 408.2 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.2266, allocations: 12 kB / 408.2 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.228, allocations: 1.713 MB / 409.9 MB, free: 22.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.2281, allocations: 111.6 kB / 410 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2282, allocations: 154.9 kB / 410.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2293, allocations: 1.734 MB / 411.9 MB, free: 20.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2293, allocations: 0 / 411.9 MB, free: 20.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2293, allocations: 0 / 411.9 MB, free: 20.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2294, allocations: 0 / 411.9 MB, free: 20.97 MB / 298.7 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.001209/0.2306, allocations: 0.9036 MB / 412.8 MB, free: 20.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2306, allocations: 8.031 kB / 412.8 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.2307, allocations: 48.38 kB / 412.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.231, allocations: 350.2 kB / 413.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.2311, allocations: 20.41 kB / 413.2 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.2311, allocations: 24 kB / 413.2 MB, free: 19.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.2315, allocations: 303.1 kB / 413.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2315, allocations: 0 / 413.5 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.2315, allocations: 12 kB / 413.5 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2316, allocations: 7.938 kB / 413.5 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.2318, allocations: 144.7 kB / 413.7 MB, free: 19.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.2328, allocations: 0.6793 MB / 414.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/0.2333, allocations: 322.7 kB / 414.7 MB, free: 17.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2335, allocations: 104.8 kB / 414.8 MB, free: 17.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.2335, allocations: 7.984 kB / 414.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2335, allocations: 38.56 kB / 414.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.2335, allocations: 0 / 414.8 MB, free: 17.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005874/0.2341, allocations: 387 kB / 415.2 MB, free: 17.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.2342, allocations: 363.8 kB / 415.6 MB, free: 16.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.2345, allocations: 413.7 kB / 416 MB, free: 16.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2345, allocations: 33.7 kB / 416 MB, free: 16.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.2346, allocations: 200.7 kB / 416.2 MB, free: 16.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.2347, allocations: 82.81 kB / 416.3 MB, free: 16.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.2348, allocations: 101.7 kB / 416.4 MB, free: 16.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.2349, allocations: 354.8 kB / 416.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.2351, allocations: 208.4 kB / 416.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.2354, allocations: 318.4 kB / 417.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.2359, allocations: 389.6 kB / 417.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2359, allocations: 0 / 417.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008711/0.2367, allocations: 0.6573 MB / 418.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2368, allocations: 8 kB / 418.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.2368, allocations: 11.98 kB / 418.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.2372, allocations: 130.4 kB / 418.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.2374, allocations: 55.97 kB / 418.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.2397, allocations: 4.235 MB / 422.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2399, allocations: 47.45 kB / 422.7 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.2399, allocations: 16 kB / 422.8 MB, free: 9.281 MB / 298.7 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.0001702/0.2401, allocations: 181.9 kB / 422.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.2402, allocations: 39.47 kB / 423 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.2402, allocations: 39.75 kB / 423 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2403, allocations: 4 kB / 423 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2403, allocations: 0 / 423 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2403, allocations: 0 / 423 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2405, allocations: 357.2 kB / 423.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2406, allocations: 0 / 423.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.2408, allocations: 43.97 kB / 423.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2408, allocations: 0 / 423.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.2408, allocations: 8 kB / 423.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2409, allocations: 0 / 423.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2409, allocations: 0 / 423.4 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.2439, allocations: 2.798 MB / 426.2 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2439, allocations: 116.5 kB / 426.3 MB, free: 5.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.244, allocations: 19.94 kB / 426.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.2442, allocations: 15.98 kB / 426.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.2442, allocations: 11.97 kB / 426.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.2442, allocations: 4 kB / 426.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002133/0.2445, allocations: 275.1 kB / 426.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2445, allocations: 0 / 426.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001846/0.2463, allocations: 0.6757 MB / 427.3 MB, free: 4.496 MB / 298.7 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.001181/0.2475, allocations: 0.6691 MB / 428 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2486, allocations: 0.9564 MB / 429 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2486, allocations: 0 / 429 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.2488, allocations: 119.9 kB / 429.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.2494, allocations: 103.7 kB / 429.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2508, allocations: 1.192 MB / 430.4 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.2511, allocations: 0.8425 MB / 431.2 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.2513, allocations: 82.89 kB / 431.3 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.57e-05/0.2514, allocations: 31.44 kB / 431.3 MB, free: 368 kB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2514, allocations: 3.938 kB / 431.3 MB, free: 364 kB / 298.7 MB Notification: Performance of Templates: time 0.02264/0.2741, allocations: 13.37 MB / 444.7 MB, free: 3.008 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches