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.0009831/0.0009829, allocations: 100.4 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009539/0.0009541, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002565, allocations: 8 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.105, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002014/0.1071, allocations: 1.667 MB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.113, allocations: 3.553 MB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1132, allocations: 7.875 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.1139, allocations: 219.3 kB / 363.6 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.114, allocations: 47.8 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.1188, allocations: 1.455 MB / 365.1 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.1195, allocations: 339.3 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1197, allocations: 52.94 kB / 365.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1199, allocations: 163.5 kB / 365.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1201, allocations: 151.2 kB / 365.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.981e-05/0.1202, allocations: 12 kB / 365.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.1224, allocations: 1.35 MB / 367.2 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.1226, allocations: 103.6 kB / 367.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1227, allocations: 81.52 kB / 367.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.1245, allocations: 1.497 MB / 368.9 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1245, allocations: 4 kB / 368.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.1245, allocations: 0 / 368.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1246, allocations: 0 / 368.9 MB, free: 3.082 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.001879/0.1264, allocations: 0.8412 MB / 369.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.1265, allocations: 12.03 kB / 369.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/0.1266, allocations: 46.55 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1267, allocations: 47.44 kB / 369.8 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005503/0.1273, allocations: 337.2 kB / 370.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1273, allocations: 12.28 kB / 370.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.579e-05/0.1274, allocations: 31.86 kB / 370.2 MB, free: 1.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.1279, allocations: 303.1 kB / 370.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1279, allocations: 0 / 370.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1279, allocations: 19.94 kB / 370.5 MB, free: 1.301 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.128, allocations: 4 kB / 370.5 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.1283, allocations: 148.7 kB / 370.6 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.1297, allocations: 0.6797 MB / 371.3 MB, free: 432 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007469/0.1304, allocations: 325.4 kB / 371.6 MB, free: 104 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1305, allocations: 4.188 kB / 371.6 MB, free: 100 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.1305, allocations: 38.75 kB / 371.7 MB, free: 52 kB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.1305, allocations: 0 / 371.7 MB, free: 52 kB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.2312/0.3617, allocations: 386.6 kB / 372.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.911e-05/0.3619, allocations: 368.9 kB / 372.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.3624, allocations: 402.8 kB / 372.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.3624, allocations: 35.39 kB / 372.8 MB, free: 18.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.3626, allocations: 195.5 kB / 373 MB, free: 17.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.3626, allocations: 86.77 kB / 373.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.3627, allocations: 6.312 kB / 373.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3628, allocations: 356.3 kB / 373.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.3631, allocations: 205.2 kB / 373.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.3636, allocations: 323.9 kB / 374 MB, free: 17.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.364, allocations: 247.9 kB / 374.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.364, allocations: 0 / 374.2 MB, free: 17.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001337/0.3653, allocations: 0.6477 MB / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3654, allocations: 4.656 kB / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/0.3654, allocations: 8.266 kB / 374.9 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004958/0.3659, allocations: 138.8 kB / 375 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.3662, allocations: 62.28 kB / 375.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.3691, allocations: 4.255 MB / 379.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.3693, allocations: 45.59 kB / 379.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.3693, allocations: 14.73 kB / 379.4 MB, free: 13.5 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.0001894/0.3695, allocations: 179.9 kB / 379.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3696, allocations: 44.72 kB / 379.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.3697, allocations: 41.38 kB / 379.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3697, allocations: 2.406 kB / 379.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3697, allocations: 0.6562 kB / 379.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3697, allocations: 1.844 kB / 379.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.3701, allocations: 354.5 kB / 380 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3701, allocations: 1.5 kB / 380 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.3704, allocations: 37.5 kB / 380.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3704, allocations: 9.234 kB / 380.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.3704, allocations: 11.91 kB / 380.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3704, allocations: 1.375 kB / 380.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3704, allocations: 0 / 380.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.371, allocations: 0.5062 MB / 380.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.3711, allocations: 116.3 kB / 380.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/0.3712, allocations: 18.3 kB / 380.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.3713, allocations: 15.3 kB / 380.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.3714, allocations: 8.828 kB / 380.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3714, allocations: 13.45 kB / 380.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002469/0.3717, allocations: 265 kB / 381 MB, free: 12.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3717, allocations: 0 / 381 MB, free: 12.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002093/0.3738, allocations: 0.6564 MB / 381.7 MB, free: 12.49 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.002293/0.3761, allocations: 1.625 MB / 383.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.3774, allocations: 0.9407 MB / 384.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3774, allocations: 1.188 kB / 384.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3777, allocations: 128.7 kB / 384.4 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.3782, allocations: 104.4 kB / 384.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.3804, allocations: 1.492 MB / 386 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3808, allocations: 0.8521 MB / 386.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.381, allocations: 70.7 kB / 386.9 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.3811, allocations: 127.2 kB / 387 MB, free: 9.383 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3811, allocations: 0 / 387 MB, free: 9.383 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.4187, allocations: 16.47 MB / 403.5 MB, free: 15.87 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/0.419, allocations: 225.5 kB / 403.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.611, allocations: 4 kB / 403.7 MB, free: 15.62 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