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.001428/0.001428, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 63.89 kB / 358.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2492, allocations: 50.54 MB / 408.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003078/0.2524, allocations: 2.016 MB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.2585, allocations: 3.721 MB / 414.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.2587, allocations: 11.88 kB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.2592, allocations: 175.1 kB / 414.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.2593, allocations: 47.56 kB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.2637, allocations: 1.941 MB / 416.7 MB, free: 9.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006212/0.2643, allocations: 0.491 MB / 417.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.2645, allocations: 56.98 kB / 417.3 MB, free: 8.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2647, allocations: 179.4 kB / 417.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2649, allocations: 167.2 kB / 417.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.265, allocations: 24 kB / 417.6 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.2674, allocations: 1.807 MB / 419.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.2676, allocations: 115.7 kB / 419.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2678, allocations: 162.9 kB / 419.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.2697, allocations: 1.788 MB / 421.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2698, allocations: 0 / 421.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2698, allocations: 0 / 421.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.2698, allocations: 0 / 421.5 MB, free: 4.73 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.001566/0.2714, allocations: 0.9183 MB / 422.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2714, allocations: 11.97 kB / 422.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.886e-05/0.2715, allocations: 50.73 kB / 422.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.2716, allocations: 48.61 kB / 422.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.272, allocations: 354.5 kB / 422.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2721, allocations: 16.66 kB / 422.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.61e-05/0.2721, allocations: 32.08 kB / 422.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.2726, allocations: 307.7 kB / 423.2 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2726, allocations: 4 kB / 423.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.2727, allocations: 11.98 kB / 423.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2727, allocations: 0 / 423.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.273, allocations: 148.7 kB / 423.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2741, allocations: 0.6679 MB / 424.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.2748, allocations: 322.4 kB / 424.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.275, allocations: 108.8 kB / 424.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.2751, allocations: 8 kB / 424.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2751, allocations: 38.94 kB / 424.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2751, allocations: 7.875 kB / 424.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007464/0.2759, allocations: 377.2 kB / 424.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001998/0.2761, allocations: 367.8 kB / 425.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.2765, allocations: 405.8 kB / 425.7 MB, free: 260 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.2766, allocations: 33.7 kB / 425.7 MB, free: 220 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.2767, allocations: 204.9 kB / 425.9 MB, free: 12 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/0.2768, allocations: 83.28 kB / 426 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.277, allocations: 97.67 kB / 426.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2772, allocations: 358.7 kB / 426.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.2775, allocations: 208.2 kB / 426.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.278, allocations: 326.4 kB / 426.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006116/0.2786, allocations: 393.5 kB / 427.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2786, allocations: 0 / 427.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001172/0.2798, allocations: 0.6539 MB / 428 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2798, allocations: 14.5 kB / 428 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-05/0.2799, allocations: 7.984 kB / 428 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004451/0.2803, allocations: 126.5 kB / 428.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.2806, allocations: 63.91 kB / 428.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.2849, allocations: 4.558 MB / 432.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.2852, allocations: 51.66 kB / 432.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.2853, allocations: 8 kB / 432.8 MB, free: 8.602 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.0002371/0.2855, allocations: 177.7 kB / 433 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/0.2856, allocations: 43.84 kB / 433 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.2857, allocations: 43.75 kB / 433.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2857, allocations: 11.88 kB / 433.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.2857, allocations: 0 / 433.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.2857, allocations: 3.984 kB / 433.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.2861, allocations: 345.3 kB / 433.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2861, allocations: 0 / 433.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.2864, allocations: 39.97 kB / 433.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2864, allocations: 0 / 433.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.2865, allocations: 8 kB / 433.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2865, allocations: 3.938 kB / 433.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2865, allocations: 8 kB / 433.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.2873, allocations: 0.5061 MB / 434 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.2874, allocations: 120.8 kB / 434.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.2875, allocations: 11.94 kB / 434.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.2877, allocations: 15.98 kB / 434.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.2877, allocations: 15.98 kB / 434.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.2878, allocations: 8 kB / 434.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003115/0.2881, allocations: 271.1 kB / 434.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2881, allocations: 0 / 434.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00174/0.2898, allocations: 0.6597 MB / 435.1 MB, free: 6.246 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.002569/0.2924, allocations: 1.624 MB / 436.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.294, allocations: 0.9599 MB / 437.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.294, allocations: 0 / 437.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.2942, allocations: 119.9 kB / 437.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.2949, allocations: 119.3 kB / 437.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/0.3015, allocations: 4.503 MB / 442.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.302, allocations: 0.838 MB / 443.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.3023, allocations: 70.92 kB / 443.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3025, allocations: 131.4 kB / 443.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3025, allocations: 0 / 443.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0523/0.3548, allocations: 17.22 MB / 460.6 MB, free: 12.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.53, allocations: 10.33 kB / 460.6 MB, free: 12.53 MB / 382.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.1.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