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.001506/0.001506, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.851/1.851, allocations: 227.4 MB / 247.1 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 59.3 kB / 307.1 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1743, allocations: 50.53 MB / 357.6 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004686/0.1791, allocations: 2.06 MB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1923, allocations: 3.772 MB / 363.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004571/0.197, allocations: 11.88 kB / 363.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007774/0.1978, allocations: 159.3 kB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1981, allocations: 43.62 kB / 363.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006908/0.2051, allocations: 1.776 MB / 365.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009891/0.2061, allocations: 498.8 kB / 365.9 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.2063, allocations: 53.06 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.2066, allocations: 183.3 kB / 366.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000316/0.2069, allocations: 171.2 kB / 366.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-05/0.207, allocations: 24 kB / 366.4 MB, free: 5.707 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007742/0.2148, allocations: 1.752 MB / 368.1 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.2152, allocations: 123.6 kB / 368.2 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.2155, allocations: 162.9 kB / 368.4 MB, free: 3.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002788/0.2183, allocations: 1.509 MB / 369.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2183, allocations: 0 / 369.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2183, allocations: 0 / 369.9 MB, free: 2.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.2184, allocations: 0 / 369.9 MB, free: 2.16 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.00264/0.221, allocations: 0.9061 MB / 370.8 MB, free: 1.203 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.2211, allocations: 12.03 kB / 370.8 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.2213, allocations: 44.38 kB / 370.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.2219, allocations: 350.2 kB / 371.2 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2219, allocations: 16.66 kB / 371.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.222, allocations: 28.28 kB / 371.2 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.2227, allocations: 319 kB / 371.6 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2228, allocations: 0 / 371.6 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.2228, allocations: 4 kB / 371.6 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.2228, allocations: 4 kB / 371.6 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.2233, allocations: 148.7 kB / 371.7 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3425/0.5658, allocations: 0.6662 MB / 372.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.5669, allocations: 319 kB / 372.7 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.5673, allocations: 111.3 kB / 372.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5673, allocations: 3.078 kB / 372.8 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.5674, allocations: 40.31 kB / 372.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.577e-06/0.5674, allocations: 0.7188 kB / 372.8 MB, free: 19.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001359/0.5688, allocations: 379.6 kB / 373.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.5689, allocations: 370.2 kB / 373.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.5698, allocations: 412.4 kB / 374 MB, free: 18.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.5699, allocations: 38.89 kB / 374 MB, free: 18.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.5701, allocations: 192.6 kB / 374.2 MB, free: 18.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5702, allocations: 84.64 kB / 374.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002718/0.5705, allocations: 101 kB / 374.4 MB, free: 18.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.5707, allocations: 356.9 kB / 374.7 MB, free: 18.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005729/0.5713, allocations: 211.4 kB / 374.9 MB, free: 18.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.572, allocations: 313.6 kB / 375.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.573, allocations: 404.5 kB / 375.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5731, allocations: 0 / 375.6 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00184/0.5749, allocations: 0.643 MB / 376.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.575, allocations: 6.109 kB / 376.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.23e-05/0.575, allocations: 7.562 kB / 376.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.5757, allocations: 137.6 kB / 376.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.5762, allocations: 62.09 kB / 376.5 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.5813, allocations: 4.55 MB / 381 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/0.5819, allocations: 49.88 kB / 381.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/0.582, allocations: 16.05 kB / 381.1 MB, free: 13.11 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.0003789/0.5824, allocations: 176 kB / 381.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5825, allocations: 36.47 kB / 381.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.5827, allocations: 46.69 kB / 381.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5827, allocations: 1.406 kB / 381.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5827, allocations: 15.59 kB / 381.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.5827, allocations: 1.031 kB / 381.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.5834, allocations: 350 kB / 381.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5835, allocations: 0 / 381.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.5842, allocations: 42.28 kB / 381.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.5842, allocations: 1.125 kB / 381.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.5843, allocations: 11.61 kB / 381.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5843, allocations: 0.5469 kB / 381.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5843, allocations: 6.062 kB / 381.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.5857, allocations: 0.5061 MB / 382.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.5858, allocations: 111.5 kB / 382.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.586, allocations: 13.16 kB / 382.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.5864, allocations: 14.11 kB / 382.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.5865, allocations: 10.88 kB / 382.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.5865, allocations: 9.812 kB / 382.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005257/0.5871, allocations: 277.1 kB / 382.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5871, allocations: 0.875 kB / 382.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003209/0.5903, allocations: 0.6516 MB / 383.4 MB, free: 12.11 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.002781/0.5931, allocations: 0.6731 MB / 384 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.5957, allocations: 0.9752 MB / 385 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.5957, allocations: 5.016 kB / 385 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.5961, allocations: 126.9 kB / 385.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5972, allocations: 123.1 kB / 385.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.5997, allocations: 1.059 MB / 386.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004399/0.6002, allocations: 0.8375 MB / 387.2 MB, free: 9.938 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.6004, allocations: 29.5 kB / 387.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.6004, allocations: 0 / 387.2 MB, free: 9.93 MB / 302.1 MB Notification: Performance of Templates: time 0.03105/0.6314, allocations: 12.11 MB / 399.3 MB, free: 4.441 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