Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_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.001407/0.001406, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.734/1.734, allocations: 227.7 MB / 247.2 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.88 kB / 358.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2752, allocations: 50.54 MB / 409 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003209/0.2785, allocations: 2.024 MB / 411.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006351/0.2848, allocations: 3.721 MB / 414.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.285, allocations: 11.88 kB / 414.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004984/0.2856, allocations: 183.1 kB / 415 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.2857, allocations: 39.59 kB / 415 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.2902, allocations: 1.939 MB / 417 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000662/0.2908, allocations: 494.8 kB / 417.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.291, allocations: 64.97 kB / 417.5 MB, free: 8.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.2912, allocations: 175.3 kB / 417.7 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.2915, allocations: 167.2 kB / 417.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.2915, allocations: 24 kB / 417.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.2942, allocations: 1.803 MB / 419.7 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.2944, allocations: 115.6 kB / 419.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2946, allocations: 166.9 kB / 419.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.2967, allocations: 1.785 MB / 421.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2967, allocations: 0 / 421.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2967, allocations: 4 kB / 421.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2967, allocations: 0 / 421.7 MB, free: 4.719 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.001679/0.2984, allocations: 0.9104 MB / 422.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2985, allocations: 16.02 kB / 422.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.2985, allocations: 50.69 kB / 422.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.2986, allocations: 52.61 kB / 422.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.2992, allocations: 362.5 kB / 423.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.2992, allocations: 12.66 kB / 423.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.2993, allocations: 32.08 kB / 423.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.2998, allocations: 303.9 kB / 423.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2998, allocations: 0 / 423.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.2998, allocations: 8 kB / 423.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2998, allocations: 4 kB / 423.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.3001, allocations: 148.7 kB / 423.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.3014, allocations: 0.668 MB / 424.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.3021, allocations: 330.3 kB / 424.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.3023, allocations: 108.8 kB / 424.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3023, allocations: 0 / 424.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.3024, allocations: 38.94 kB / 424.7 MB, free: 1.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.3024, allocations: 3.938 kB / 424.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007833/0.3032, allocations: 388.3 kB / 425.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002178/0.3034, allocations: 371.8 kB / 425.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.3039, allocations: 401.8 kB / 425.9 MB, free: 248 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.3039, allocations: 37.7 kB / 425.9 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3041, allocations: 205 kB / 426.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/0.3042, allocations: 83.3 kB / 426.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3044, allocations: 97.67 kB / 426.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.3046, allocations: 362.7 kB / 426.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.3049, allocations: 208.2 kB / 426.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.3054, allocations: 320 kB / 427.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.3061, allocations: 393.6 kB / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3061, allocations: 0 / 427.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001223/0.3073, allocations: 0.6578 MB / 428.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3073, allocations: 4 kB / 428.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.3074, allocations: 11.98 kB / 428.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.3078, allocations: 122.5 kB / 428.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3082, allocations: 71.89 kB / 428.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/0.3125, allocations: 4.555 MB / 433 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3128, allocations: 51.64 kB / 433 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.3128, allocations: 8 kB / 433 MB, free: 8.59 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.0002357/0.3131, allocations: 177.9 kB / 433.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.3132, allocations: 43.75 kB / 433.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.3133, allocations: 43.75 kB / 433.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3133, allocations: 3.938 kB / 433.3 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3133, allocations: 4 kB / 433.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3133, allocations: 0 / 433.3 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3137, allocations: 353.3 kB / 433.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3138, allocations: 4 kB / 433.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.3141, allocations: 35.98 kB / 433.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3141, allocations: 0 / 433.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.3141, allocations: 15.98 kB / 433.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3141, allocations: 7.875 kB / 433.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3141, allocations: 0 / 433.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.3149, allocations: 0.5068 MB / 434.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.315, allocations: 116.8 kB / 434.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.3151, allocations: 19.92 kB / 434.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3153, allocations: 11.98 kB / 434.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.3153, allocations: 15.98 kB / 434.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.3153, allocations: 4 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.3157, allocations: 271.1 kB / 434.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3157, allocations: 0 / 434.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001814/0.3175, allocations: 0.6597 MB / 435.3 MB, free: 6.23 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.002627/0.3201, allocations: 1.621 MB / 436.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3217, allocations: 0.9609 MB / 437.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3217, allocations: 4 kB / 437.9 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.322, allocations: 115.9 kB / 438 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.3227, allocations: 121.3 kB / 438.1 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006711/0.3294, allocations: 4.496 MB / 442.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.3299, allocations: 0.8458 MB / 443.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000226/0.3302, allocations: 58.92 kB / 443.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3304, allocations: 131.4 kB / 443.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3304, allocations: 4 kB / 443.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05345/0.3838, allocations: 17.24 MB / 460.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 14.58 kB / 460.9 MB, free: 12.54 MB / 382.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1)