Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 106.5 kB / 17.06 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 193.4 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2475, allocations: 49.44 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003425/0.2509, allocations: 2.005 MB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006291/0.2572, allocations: 3.674 MB / 405.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.2576, allocations: 11.88 kB / 405.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.2582, allocations: 187.1 kB / 406.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.2584, allocations: 35.59 kB / 406.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004687/0.2631, allocations: 1.932 MB / 408.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007323/0.2639, allocations: 0.491 MB / 408.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.264, allocations: 53 kB / 408.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.2643, allocations: 183.3 kB / 408.8 MB, free: 244 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.2646, allocations: 167.2 kB / 409 MB, free: 76 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.2647, allocations: 24 kB / 409 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.2674, allocations: 1.788 MB / 410.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001885/0.2676, allocations: 119.6 kB / 410.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.2678, allocations: 162.9 kB / 411 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.27, allocations: 1.777 MB / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.27, allocations: 0 / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.27, allocations: 4 kB / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2701, allocations: 0 / 412.8 MB, free: 12.2 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.00188/0.272, allocations: 0.9104 MB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.272, allocations: 12.03 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.17e-05/0.2721, allocations: 50.75 kB / 413.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2722, allocations: 52.58 kB / 413.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.2727, allocations: 354.3 kB / 414.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.2728, allocations: 20.28 kB / 414.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/0.2728, allocations: 24 kB / 414.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.2734, allocations: 307 kB / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.2734, allocations: 0 / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.2734, allocations: 8 kB / 414.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.2735, allocations: 12 kB / 414.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2738, allocations: 144.7 kB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2751, allocations: 0.6718 MB / 415.4 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.2758, allocations: 326.4 kB / 415.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.276, allocations: 100.8 kB / 415.8 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.2761, allocations: 4 kB / 415.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.2761, allocations: 38.56 kB / 415.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.2761, allocations: 0 / 415.8 MB, free: 8.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0008043/0.2769, allocations: 392.2 kB / 416.2 MB, free: 8.586 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002359/0.2772, allocations: 375.7 kB / 416.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.2776, allocations: 405.8 kB / 417 MB, free: 7.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.2777, allocations: 37.69 kB / 417 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.2779, allocations: 196.9 kB / 417.2 MB, free: 7.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.302e-05/0.278, allocations: 91.27 kB / 417.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.2781, allocations: 97.69 kB / 417.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2783, allocations: 362.8 kB / 417.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.2787, allocations: 200.4 kB / 417.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.2792, allocations: 310.4 kB / 418.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.2799, allocations: 405.5 kB / 418.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2799, allocations: 0 / 418.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001239/0.2811, allocations: 0.6459 MB / 419.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2812, allocations: 10.03 kB / 419.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/0.2812, allocations: 15.97 kB / 419.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004993/0.2817, allocations: 126.5 kB / 419.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.282, allocations: 63.89 kB / 419.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/0.2862, allocations: 4.554 MB / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.2864, allocations: 51.55 kB / 424.1 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.2865, allocations: 12.16 kB / 424.1 MB, free: 76 kB / 334.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.0002511/0.2867, allocations: 189.6 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.2868, allocations: 43.66 kB / 424.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.2869, allocations: 43.75 kB / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2869, allocations: 0 / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2869, allocations: 0 / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2869, allocations: 0 / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.2873, allocations: 349.4 kB / 424.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2874, allocations: 4 kB / 424.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.2876, allocations: 43.92 kB / 424.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.2877, allocations: 3.938 kB / 424.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.128e-05/0.2878, allocations: 11.98 kB / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2878, allocations: 4 kB / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2878, allocations: 0 / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.2885, allocations: 0.4951 MB / 425.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2886, allocations: 120.8 kB / 425.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.2887, allocations: 11.98 kB / 425.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.2889, allocations: 15.98 kB / 425.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.2889, allocations: 15.92 kB / 425.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.289, allocations: 8 kB / 425.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003127/0.2893, allocations: 275.1 kB / 425.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2893, allocations: 0 / 425.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001899/0.2912, allocations: 0.6519 MB / 426.4 MB, free: 13.72 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.003061/0.2943, allocations: 1.616 MB / 428 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.2959, allocations: 0.9501 MB / 428.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.296, allocations: 0 / 428.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.2962, allocations: 123.8 kB / 429.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.2969, allocations: 125.3 kB / 429.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.304, allocations: 4.511 MB / 433.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.3046, allocations: 0.838 MB / 434.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002345/0.3049, allocations: 66.91 kB / 434.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.3051, allocations: 131.4 kB / 434.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3051, allocations: 8 kB / 434.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07527/0.3804, allocations: 17.12 MB / 451.9 MB, free: 4.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.22, allocations: 5.531 kB / 451.9 MB, free: 4.141 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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