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.001036/0.001036, allocations: 96.89 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001196, allocations: 202 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002096, allocations: 8 kB / 308.4 MB, free: 0.5898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08795, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002072/0.09006, allocations: 1.714 MB / 361.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.09595, allocations: 4.046 MB / 365.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.09616, allocations: 7.938 kB / 365.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004631/0.09663, allocations: 163.3 kB / 365.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.0968, allocations: 39.62 kB / 365.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.1003, allocations: 1.551 MB / 367.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005749/0.1009, allocations: 474.7 kB / 367.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.1011, allocations: 45.34 kB / 367.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.1013, allocations: 159.3 kB / 368.1 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1015, allocations: 171.1 kB / 368.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1016, allocations: 12 kB / 368.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.1036, allocations: 1.725 MB / 370 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1038, allocations: 111.6 kB / 370.1 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.104, allocations: 176.5 kB / 370.3 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1053, allocations: 1.497 MB / 371.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1053, allocations: 0 / 371.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1054, allocations: 0 / 371.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1054, allocations: 0 / 371.8 MB, free: 1.18 MB / 302.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.001287/0.1067, allocations: 0.8375 MB / 372.6 MB, free: 296 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1067, allocations: 8.031 kB / 372.6 MB, free: 288 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.1068, allocations: 48.38 kB / 372.7 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1557/0.2625, allocations: 344.5 kB / 373 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.2626, allocations: 16.03 kB / 373 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.2627, allocations: 27.88 kB / 373 MB, free: 18.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.2633, allocations: 303.6 kB / 373.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2633, allocations: 4.172 kB / 373.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.2633, allocations: 8.344 kB / 373.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.2633, allocations: 2.469 kB / 373.3 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.2637, allocations: 157.5 kB / 373.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.265, allocations: 0.6835 MB / 374.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.2657, allocations: 319.9 kB / 374.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2659, allocations: 109.4 kB / 374.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2659, allocations: 3.047 kB / 374.6 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.266, allocations: 43.44 kB / 374.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.266, allocations: 0 / 374.6 MB, free: 17.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007597/0.2667, allocations: 383.9 kB / 375 MB, free: 17.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.2668, allocations: 367.6 kB / 375.4 MB, free: 17.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004675/0.2673, allocations: 408.5 kB / 375.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2674, allocations: 35.05 kB / 375.8 MB, free: 17.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2675, allocations: 195 kB / 376 MB, free: 17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.2676, allocations: 85.39 kB / 376.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.2677, allocations: 59.86 kB / 376.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.2678, allocations: 359.3 kB / 376.5 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.2682, allocations: 210.5 kB / 376.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.2686, allocations: 321.3 kB / 377 MB, free: 16.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.2692, allocations: 402 kB / 377.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2692, allocations: 0 / 377.4 MB, free: 16.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001/0.2702, allocations: 0.6514 MB / 378.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2703, allocations: 6.031 kB / 378.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.2703, allocations: 15.41 kB / 378.1 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.2707, allocations: 128.2 kB / 378.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.271, allocations: 61.89 kB / 378.3 MB, free: 16.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.2733, allocations: 4.238 MB / 382.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.2735, allocations: 52.33 kB / 382.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2736, allocations: 13.45 kB / 382.6 MB, free: 11.95 MB / 302.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.0001628/0.2737, allocations: 180.3 kB / 382.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.2738, allocations: 36.44 kB / 382.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.2739, allocations: 45.42 kB / 382.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2739, allocations: 3.078 kB / 382.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2739, allocations: 0 / 382.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2739, allocations: 6.094 kB / 382.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/0.2742, allocations: 352.5 kB / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2742, allocations: 0 / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.2745, allocations: 38.23 kB / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2745, allocations: 1.375 kB / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.2746, allocations: 10.84 kB / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2746, allocations: 1.156 kB / 383.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2746, allocations: 5.688 kB / 383.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.2752, allocations: 0.5159 MB / 383.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.2752, allocations: 108.5 kB / 383.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.2753, allocations: 12.88 kB / 383.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2755, allocations: 18.2 kB / 383.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2755, allocations: 16.62 kB / 383.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2755, allocations: 4.609 kB / 383.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.2758, allocations: 272.2 kB / 384.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2758, allocations: 4 kB / 384.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001794/0.2776, allocations: 0.6553 MB / 384.8 MB, free: 10.93 MB / 302.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.001268/0.2789, allocations: 0.6705 MB / 385.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.28, allocations: 0.9461 MB / 386.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.28, allocations: 1.156 kB / 386.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.2802, allocations: 124.3 kB / 386.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.2809, allocations: 113.3 kB / 386.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2821, allocations: 1.096 MB / 387.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.2824, allocations: 0.8328 MB / 388.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.2825, allocations: 32.91 kB / 388.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2825, allocations: 0 / 388.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of Templates: time 0.0148/0.2973, allocations: 12.07 MB / 400.7 MB, free: 2.91 MB / 302.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