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: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 208.6 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.651/1.651, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 61.34 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09054, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002887/0.09346, allocations: 2.02 MB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.09951, allocations: 3.711 MB / 363.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.0997, allocations: 15.88 kB / 363.3 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1002, allocations: 179.1 kB / 363.5 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1003, allocations: 59.5 kB / 363.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.1042, allocations: 1.941 MB / 365.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00054/0.1048, allocations: 498.8 kB / 366 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1049, allocations: 45.02 kB / 366 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1052, allocations: 179.4 kB / 366.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1054, allocations: 171.1 kB / 366.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.1055, allocations: 24 kB / 366.4 MB, free: 5.199 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.1079, allocations: 1.748 MB / 368.1 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1081, allocations: 123.6 kB / 368.3 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1083, allocations: 170.9 kB / 368.4 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.1103, allocations: 1.77 MB / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1103, allocations: 0 / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1103, allocations: 0 / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.1103, allocations: 0 / 370.2 MB, free: 1.387 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.001665/0.112, allocations: 0.9036 MB / 371.1 MB, free: 440 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.112, allocations: 8.031 kB / 371.1 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.1121, allocations: 50.73 kB / 371.2 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.1122, allocations: 44.38 kB / 371.2 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1852/0.2974, allocations: 348.5 kB / 371.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2975, allocations: 15.75 kB / 371.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.2976, allocations: 26.23 kB / 371.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005845/0.2982, allocations: 306.2 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2982, allocations: 0.8438 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2983, allocations: 10.12 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2983, allocations: 3.125 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.2986, allocations: 146.8 kB / 372 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2999, allocations: 0.6765 MB / 372.7 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.3006, allocations: 319 kB / 373 MB, free: 18.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3008, allocations: 111.6 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3008, allocations: 3 kB / 373.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3009, allocations: 41.61 kB / 373.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.3009, allocations: 0 / 373.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007961/0.3017, allocations: 379.5 kB / 373.5 MB, free: 18.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3018, allocations: 365 kB / 373.9 MB, free: 18.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.3023, allocations: 414.5 kB / 374.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3023, allocations: 33.14 kB / 374.3 MB, free: 18.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3025, allocations: 197.8 kB / 374.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.3025, allocations: 89.2 kB / 374.6 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/0.3027, allocations: 97.83 kB / 374.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3028, allocations: 356.7 kB / 375.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.3032, allocations: 202.8 kB / 375.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.3037, allocations: 323.1 kB / 375.6 MB, free: 17.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.3043, allocations: 397.6 kB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3043, allocations: 1.312 kB / 376 MB, free: 17.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001092/0.3054, allocations: 0.6542 MB / 376.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3055, allocations: 6.297 kB / 376.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.3055, allocations: 7.422 kB / 376.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.3059, allocations: 127.2 kB / 376.8 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3062, allocations: 70.12 kB / 376.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00303/0.3093, allocations: 4.542 MB / 381.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.3095, allocations: 51.91 kB / 381.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3095, allocations: 13.62 kB / 381.4 MB, free: 12.51 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.0002254/0.3098, allocations: 180.4 kB / 381.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.3099, allocations: 40.25 kB / 381.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.31, allocations: 49.06 kB / 381.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.31, allocations: 6.875 kB / 381.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.31, allocations: 3.812 kB / 381.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.31, allocations: 2.984 kB / 381.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.3104, allocations: 349.4 kB / 382 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.3104, allocations: 0 / 382 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3107, allocations: 38.19 kB / 382.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3107, allocations: 5.156 kB / 382.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.3107, allocations: 11.2 kB / 382.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3108, allocations: 0 / 382.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3108, allocations: 5.406 kB / 382.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.3115, allocations: 0.5074 MB / 382.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.3115, allocations: 111.4 kB / 382.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.604e-05/0.3116, allocations: 17.27 kB / 382.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3118, allocations: 14.08 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.3119, allocations: 16.14 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3119, allocations: 4.156 kB / 382.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003154/0.3122, allocations: 279.8 kB / 383 MB, free: 11.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3122, allocations: 0 / 383 MB, free: 11.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002059/0.3143, allocations: 0.6615 MB / 383.7 MB, free: 11.49 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.00261/0.3169, allocations: 1.604 MB / 385.3 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.3183, allocations: 0.9841 MB / 386.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3184, allocations: 1.062 kB / 386.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.3186, allocations: 123.1 kB / 386.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.3193, allocations: 114.6 kB / 386.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.3255, allocations: 4.521 MB / 391.1 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3259, allocations: 0.8416 MB / 391.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.3262, allocations: 71.92 kB / 392 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3263, allocations: 131.7 kB / 392.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3263, allocations: 0 / 392.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.3716, allocations: 17.09 MB / 409.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.41/9.782, allocations: 8.359 kB / 409.2 MB, free: 9.824 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > 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) "" Variables in the reference: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] Variables in the result:Bessel.A_ripple,Bessel.analogFilter,Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.normalized,Bessel.nx,Bessel.order,Bessel.u,Bessel.u_nominal,Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,Butterworth.A_ripple,Butterworth.analogFilter,Butterworth.f_cut,Butterworth.f_min,Butterworth.filterType,Butterworth.gain,Butterworth.init,Butterworth.normalized,Butterworth.nx,Butterworth.order,Butterworth.u,Butterworth.u_nominal,Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],Butterworth.x_start[1],Butterworth.x_start[2],Butterworth.x_start[3],Butterworth.y,Butterworth.y_start,ChebyshevI.A_ripple,ChebyshevI.analogFilter,ChebyshevI.f_cut,ChebyshevI.f_min,ChebyshevI.filterType,ChebyshevI.gain,ChebyshevI.init,ChebyshevI.normalized,ChebyshevI.nx,ChebyshevI.order,ChebyshevI.u,ChebyshevI.u_nominal,ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3],ChebyshevI.x_start[1],ChebyshevI.x_start[2],ChebyshevI.x_start[3],ChebyshevI.y,ChebyshevI.y_start,CriticalDamping.A_ripple,CriticalDamping.analogFilter,CriticalDamping.f_cut,CriticalDamping.f_min,CriticalDamping.filterType,CriticalDamping.gain,CriticalDamping.init,CriticalDamping.normalized,CriticalDamping.nx,CriticalDamping.order,CriticalDamping.u,CriticalDamping.u_nominal,CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],CriticalDamping.x_start[1],CriticalDamping.x_start[2],CriticalDamping.x_start[3],CriticalDamping.y,CriticalDamping.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(Butterworth.x[1]),der(Butterworth.x[2]),der(Butterworth.x[3]),der(ChebyshevI.x[1]),der(ChebyshevI.x[2]),der(ChebyshevI.x[3]),der(CriticalDamping.x[1]),der(CriticalDamping.x[2]),der(CriticalDamping.x[3]),f_cut,filterType,init,normalized,order,step.height,step.offset,step.startTime,step.y,time