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.000851/0.0008509, allocations: 99.86 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008747/0.0008747, allocations: 191.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002201/0.0002202, allocations: 4 kB / 306.8 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1065, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002288/0.1088, allocations: 1.659 MB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005639/0.1145, allocations: 3.584 MB / 363.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1148, allocations: 7.875 kB / 363.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.1153, allocations: 159.2 kB / 363.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.1155, allocations: 39.7 kB / 363.7 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003799/0.1193, allocations: 1.513 MB / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.12, allocations: 434.8 kB / 365.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1202, allocations: 45.02 kB / 365.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.1205, allocations: 155.4 kB / 365.9 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1207, allocations: 151.2 kB / 366 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.1208, allocations: 12 kB / 366 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002276/0.123, allocations: 1.436 MB / 367.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.1233, allocations: 103.7 kB / 367.6 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1234, allocations: 77.45 kB / 367.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1252, allocations: 1.501 MB / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1252, allocations: 0 / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.1252, allocations: 0 / 369.1 MB, free: 2.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1252, allocations: 3.938 kB / 369.1 MB, free: 2.887 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.001547/0.1268, allocations: 0.8373 MB / 370 MB, free: 1.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001276/0.1269, allocations: 8.031 kB / 370 MB, free: 1.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.694e-05/0.127, allocations: 54.55 kB / 370 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.1271, allocations: 43.44 kB / 370.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.1276, allocations: 333.2 kB / 370.4 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1276, allocations: 20.22 kB / 370.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.1277, allocations: 35.86 kB / 370.5 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.1282, allocations: 307.1 kB / 370.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1282, allocations: 0 / 370.8 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1282, allocations: 8 kB / 370.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1282, allocations: 0 / 370.8 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1285, allocations: 152.7 kB / 370.9 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.1296, allocations: 0.6719 MB / 371.6 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1933/0.3229, allocations: 316.6 kB / 371.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.3232, allocations: 109.7 kB / 372 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3232, allocations: 1.969 kB / 372 MB, free: 18.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3233, allocations: 41.53 kB / 372.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.893e-06/0.3233, allocations: 0 / 372.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007836/0.3241, allocations: 392.8 kB / 372.4 MB, free: 18.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.3242, allocations: 370.6 kB / 372.8 MB, free: 18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.3246, allocations: 408 kB / 373.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3247, allocations: 35.83 kB / 373.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3248, allocations: 195.5 kB / 373.4 MB, free: 17.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.3249, allocations: 85.34 kB / 373.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.3249, allocations: 7.766 kB / 373.5 MB, free: 17.74 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.325, allocations: 355.4 kB / 373.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/0.3253, allocations: 208.5 kB / 374.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.3257, allocations: 311 kB / 374.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.3262, allocations: 253.7 kB / 374.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3262, allocations: 0 / 374.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001245/0.3274, allocations: 0.65 MB / 375.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3275, allocations: 9.938 kB / 375.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.3275, allocations: 10.64 kB / 375.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004242/0.3279, allocations: 125.6 kB / 375.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3282, allocations: 65.06 kB / 375.5 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.3309, allocations: 4.22 MB / 379.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3311, allocations: 49.12 kB / 379.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.3311, allocations: 13 kB / 379.8 MB, free: 13.26 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.0001787/0.3313, allocations: 176.2 kB / 379.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.3314, allocations: 41.92 kB / 380 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/0.3315, allocations: 44 kB / 380 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3315, allocations: 7.391 kB / 380 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.3315, allocations: 0 / 380 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3315, allocations: 6.406 kB / 380 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.3318, allocations: 353.9 kB / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3319, allocations: 0.75 kB / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3321, allocations: 40.52 kB / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3321, allocations: 0 / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3322, allocations: 12.77 kB / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3322, allocations: 1.281 kB / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3322, allocations: 0 / 380.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.3328, allocations: 0.5181 MB / 380.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.3329, allocations: 108.3 kB / 381 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.3329, allocations: 14.78 kB / 381.1 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.3331, allocations: 14.86 kB / 381.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.3331, allocations: 12.06 kB / 381.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3332, allocations: 9.031 kB / 381.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3334, allocations: 272.4 kB / 381.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3334, allocations: 0 / 381.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001803/0.3352, allocations: 0.6572 MB / 382 MB, free: 12.26 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.001942/0.3372, allocations: 1.613 MB / 383.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.3383, allocations: 0.9475 MB / 384.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3383, allocations: 4.109 kB / 384.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.3385, allocations: 119.1 kB / 384.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.339, allocations: 110.7 kB / 384.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.3433, allocations: 3.029 MB / 387.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3436, allocations: 0.8406 MB / 388.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.3438, allocations: 72.31 kB / 388.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.344, allocations: 131.7 kB / 388.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.344, allocations: 1 kB / 388.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.3801, allocations: 16.77 MB / 405.6 MB, free: 13.77 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.3804, allocations: 218.9 kB / 405.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.692, allocations: 0 / 405.9 MB, free: 13.53 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat