Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_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.0009223/0.0009223, allocations: 94.03 kB / 16.93 MB, free: 5.984 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.001052/0.001052, allocations: 180.1 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004376, allocations: 8 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08062, allocations: 47.58 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001768/0.08243, allocations: 1.653 MB / 330.1 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004736/0.08718, allocations: 3.554 MB / 333.6 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.08735, allocations: 7.875 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000505/0.08786, allocations: 215.3 kB / 333.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.08798, allocations: 47.8 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.09118, allocations: 1.443 MB / 335.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.09164, allocations: 343.3 kB / 335.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.09176, allocations: 41.06 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.09193, allocations: 163.5 kB / 335.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.09212, allocations: 151.2 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.09216, allocations: 16 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.09365, allocations: 1.339 MB / 337.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.09378, allocations: 111.7 kB / 337.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.09385, allocations: 77.45 kB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.09509, allocations: 1.493 MB / 339 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.09511, allocations: 3.938 kB / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.09512, allocations: 0 / 339 MB, free: 9.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.09513, allocations: 0 / 339 MB, free: 9.34 MB / 286.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.001308/0.09644, allocations: 0.8412 MB / 339.9 MB, free: 8.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.09649, allocations: 8.031 kB / 339.9 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/0.09655, allocations: 50.55 kB / 339.9 MB, free: 8.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.956e-05/0.09662, allocations: 47.44 kB / 340 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.09706, allocations: 337.3 kB / 340.3 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.09708, allocations: 12.28 kB / 340.3 MB, free: 7.953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.09715, allocations: 31.84 kB / 340.4 MB, free: 7.922 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.09755, allocations: 307.1 kB / 340.7 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.09757, allocations: 0 / 340.7 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.0976, allocations: 4 kB / 340.7 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09761, allocations: 4 kB / 340.7 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.09787, allocations: 155.8 kB / 340.8 MB, free: 7.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.09892, allocations: 0.6759 MB / 341.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.0995, allocations: 318.7 kB / 341.8 MB, free: 6.375 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.09952, allocations: 4.125 kB / 341.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.09955, allocations: 38.75 kB / 341.8 MB, free: 6.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.09956, allocations: 4 kB / 341.9 MB, free: 6.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006568/0.1002, allocations: 395 kB / 342.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.1004, allocations: 367.8 kB / 342.6 MB, free: 5.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.1007, allocations: 401.8 kB / 343 MB, free: 5.086 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.1008, allocations: 37.7 kB / 343 MB, free: 5.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1009, allocations: 192.8 kB / 343.2 MB, free: 4.852 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.101, allocations: 90.72 kB / 343.3 MB, free: 4.762 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.101, allocations: 4 kB / 343.3 MB, free: 4.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1011, allocations: 358.8 kB / 343.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.1014, allocations: 208.2 kB / 343.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.1018, allocations: 314.3 kB / 344.2 MB, free: 3.848 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1021, allocations: 253.5 kB / 344.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1021, allocations: 0 / 344.4 MB, free: 3.602 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000981/0.1031, allocations: 0.6499 MB / 345.1 MB, free: 2.934 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1031, allocations: 4 kB / 345.1 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.1031, allocations: 7.984 kB / 345.1 MB, free: 2.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.1035, allocations: 122.5 kB / 345.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1038, allocations: 71.89 kB / 345.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.1067, allocations: 4.259 MB / 349.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.1069, allocations: 47.77 kB / 349.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.107, allocations: 12 kB / 349.6 MB, free: 14 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.1072, allocations: 181.7 kB / 349.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.1072, allocations: 43.45 kB / 349.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.919e-05/0.1073, allocations: 47.75 kB / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1073, allocations: 0 / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1073, allocations: 0 / 349.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1073, allocations: 3.953 kB / 349.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003299/0.1077, allocations: 353.3 kB / 350.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1077, allocations: 0 / 350.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.108, allocations: 43.92 kB / 350.2 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.108, allocations: 4 kB / 350.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.108, allocations: 11.98 kB / 350.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.108, allocations: 4 kB / 350.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.108, allocations: 0 / 350.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.1087, allocations: 0.5103 MB / 350.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.186e-05/0.1088, allocations: 116.5 kB / 350.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.1088, allocations: 15.98 kB / 350.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.109, allocations: 11.98 kB / 350.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.109, allocations: 15.98 kB / 350.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1091, allocations: 4 kB / 350.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1093, allocations: 275.1 kB / 351.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1093, allocations: 0 / 351.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001749/0.1111, allocations: 0.6522 MB / 351.9 MB, free: 11.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002057/0.1131, allocations: 1.615 MB / 353.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1144, allocations: 0.9579 MB / 354.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1144, allocations: 0 / 354.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.1146, allocations: 119.9 kB / 354.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.1151, allocations: 102.8 kB / 354.6 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.117, allocations: 1.499 MB / 356.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1174, allocations: 0.8458 MB / 357 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.1176, allocations: 78.89 kB / 357.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1178, allocations: 127.4 kB / 357.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1178, allocations: 0 / 357.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.1479, allocations: 16.35 MB / 373.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/0.1481, allocations: 216.1 kB / 373.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.156, allocations: 4 kB / 373.8 MB, free: 5.504 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat