Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2667, allocations: 50.54 MB / 409.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00293/0.2697, allocations: 2.021 MB / 411.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005783/0.2755, allocations: 3.713 MB / 415.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.2758, allocations: 11.88 kB / 415.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.2763, allocations: 183.1 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.2766, allocations: 43.58 kB / 415.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004349/0.2809, allocations: 1.957 MB / 417.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.2815, allocations: 0.491 MB / 418.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2817, allocations: 45.06 kB / 418.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2819, allocations: 187.4 kB / 418.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.2821, allocations: 171.1 kB / 418.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.2821, allocations: 24 kB / 418.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.2843, allocations: 1.791 MB / 420.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2845, allocations: 123.6 kB / 420.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.2846, allocations: 167 kB / 420.8 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.2862, allocations: 1.777 MB / 422.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2863, allocations: 0 / 422.6 MB, free: 4.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2863, allocations: 4 kB / 422.6 MB, free: 4.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.2863, allocations: 0 / 422.6 MB, free: 4.949 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.001462/0.2877, allocations: 0.9035 MB / 423.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2878, allocations: 8.031 kB / 423.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.236e-05/0.2879, allocations: 48.38 kB / 423.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2883, allocations: 362.2 kB / 423.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2883, allocations: 12.66 kB / 423.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.2884, allocations: 28.38 kB / 424 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.2888, allocations: 303.6 kB / 424.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2888, allocations: 0 / 424.3 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.2889, allocations: 12 kB / 424.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2889, allocations: 4 kB / 424.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.2891, allocations: 144.7 kB / 424.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2902, allocations: 0.6794 MB / 425.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.2908, allocations: 322.8 kB / 425.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.291, allocations: 112.7 kB / 425.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.291, allocations: 0 / 425.5 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2911, allocations: 38.56 kB / 425.6 MB, free: 1.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.2911, allocations: 3.938 kB / 425.6 MB, free: 1.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006461/0.2917, allocations: 376.5 kB / 425.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.2919, allocations: 367.8 kB / 426.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.2923, allocations: 409.8 kB / 426.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2923, allocations: 37.7 kB / 426.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2924, allocations: 196.7 kB / 426.9 MB, free: 324 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.2925, allocations: 86.8 kB / 427 MB, free: 236 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2926, allocations: 101.7 kB / 427.1 MB, free: 128 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2928, allocations: 358.7 kB / 427.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.2931, allocations: 212.2 kB / 427.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.2935, allocations: 314.4 kB / 428 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.294, allocations: 393.6 kB / 428.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.294, allocations: 0 / 428.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00103/0.2951, allocations: 0.6575 MB / 429 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2951, allocations: 4 kB / 429 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.2951, allocations: 4 kB / 429 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.2955, allocations: 130.4 kB / 429.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.2958, allocations: 63.95 kB / 429.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/0.2991, allocations: 4.558 MB / 433.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.2993, allocations: 51.45 kB / 433.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.2993, allocations: 8 kB / 433.8 MB, free: 8.91 MB / 350.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.0001887/0.2995, allocations: 177.8 kB / 434 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.2996, allocations: 39.53 kB / 434 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.719e-05/0.2997, allocations: 47.73 kB / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2997, allocations: 0 / 434.1 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2997, allocations: 3.938 kB / 434.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2997, allocations: 4 kB / 434.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.3001, allocations: 345.3 kB / 434.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3001, allocations: 3.984 kB / 434.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3003, allocations: 39.98 kB / 434.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3004, allocations: 4 kB / 434.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3004, allocations: 15.98 kB / 434.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3004, allocations: 3.938 kB / 434.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3004, allocations: 3.938 kB / 434.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.301, allocations: 0.4948 MB / 435 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3011, allocations: 108.6 kB / 435.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.3012, allocations: 23.92 kB / 435.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3013, allocations: 15.98 kB / 435.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.3014, allocations: 11.98 kB / 435.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.3014, allocations: 4 kB / 435.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3017, allocations: 271.1 kB / 435.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3017, allocations: 0 / 435.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001674/0.3034, allocations: 0.6561 MB / 436.1 MB, free: 6.57 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.001274/0.3046, allocations: 0.6816 MB / 436.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.306, allocations: 0.953 MB / 437.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.306, allocations: 0 / 437.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.3062, allocations: 121 kB / 437.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.3068, allocations: 108.3 kB / 437.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3081, allocations: 0.9403 MB / 438.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3085, allocations: 0.8457 MB / 439.7 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.3086, allocations: 27.44 kB / 439.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3086, allocations: 0 / 439.7 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Templates: time 0.0165/0.3251, allocations: 12.15 MB / 451.9 MB, free: 6.613 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches