Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002257/0.002256, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 222.5 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001187/0.001186, allocations: 92.06 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004047, allocations: 11.98 kB / 327 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3546, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004252/0.3589, allocations: 1.648 MB / 376.3 MB, free: 44.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3726, allocations: 3.564 MB / 379.8 MB, free: 41.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004428/0.3731, allocations: 9.406 kB / 379.8 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3742, allocations: 214.2 kB / 380 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005347/0.3747, allocations: 46.17 kB / 380.1 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01028/0.3851, allocations: 1.44 MB / 381.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.3871, allocations: 334.3 kB / 381.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.3874, allocations: 51.22 kB / 381.9 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.3879, allocations: 167.6 kB / 382.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.3883, allocations: 148.4 kB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.3884, allocations: 11.44 kB / 382.2 MB, free: 40 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00601/0.3944, allocations: 1.347 MB / 383.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.395, allocations: 101.7 kB / 383.7 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.3954, allocations: 78.73 kB / 383.7 MB, free: 39.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.4009, allocations: 1.494 MB / 385.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.401, allocations: 0 / 385.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.401, allocations: 0 / 385.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.4011, allocations: 4 kB / 385.2 MB, free: 38.2 MB / 298.7 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.003268/0.4043, allocations: 0.8373 MB / 386.1 MB, free: 37.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.787e-05/0.4044, allocations: 8.031 kB / 386.1 MB, free: 37.31 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000184/0.4047, allocations: 50.55 kB / 386.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.405, allocations: 51.38 kB / 386.2 MB, free: 37.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.4063, allocations: 337.2 kB / 386.5 MB, free: 36.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4064, allocations: 16.28 kB / 386.5 MB, free: 36.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4065, allocations: 31.89 kB / 386.6 MB, free: 36.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.4074, allocations: 315 kB / 386.9 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4074, allocations: 3.938 kB / 386.9 MB, free: 36.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.4075, allocations: 8 kB / 386.9 MB, free: 36.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4075, allocations: 8 kB / 386.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004245/0.4079, allocations: 147.8 kB / 387 MB, free: 36.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.4096, allocations: 0.672 MB / 387.7 MB, free: 35.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.4106, allocations: 319.2 kB / 388 MB, free: 35.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.4106, allocations: 4.188 kB / 388 MB, free: 35.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4106, allocations: 38.75 kB / 388.1 MB, free: 35.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.955e-06/0.4106, allocations: 0 / 388.1 MB, free: 35.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.00103/0.4117, allocations: 395.5 kB / 388.4 MB, free: 34.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4118, allocations: 367.8 kB / 388.8 MB, free: 34.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.4124, allocations: 409.7 kB / 389.2 MB, free: 33.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.4124, allocations: 33.7 kB / 389.2 MB, free: 33.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.4126, allocations: 239.3 kB / 389.5 MB, free: 33.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.4127, allocations: 82.81 kB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.4127, allocations: 8 kB / 389.6 MB, free: 33.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4128, allocations: 330.8 kB / 389.9 MB, free: 33.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.4133, allocations: 204.2 kB / 390.1 MB, free: 33.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/0.4139, allocations: 322.3 kB / 390.4 MB, free: 32.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.4145, allocations: 245.6 kB / 390.6 MB, free: 32.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4145, allocations: 0 / 390.6 MB, free: 32.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001627/0.4161, allocations: 0.6266 MB / 391.3 MB, free: 31.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4162, allocations: 4 kB / 391.3 MB, free: 31.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.4162, allocations: 11.97 kB / 391.3 MB, free: 31.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006749/0.4169, allocations: 134.4 kB / 391.4 MB, free: 31.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.4175, allocations: 55.97 kB / 391.5 MB, free: 31.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.4211, allocations: 4.266 MB / 395.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.4216, allocations: 55.45 kB / 395.8 MB, free: 26.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.4216, allocations: 8 kB / 395.8 MB, free: 26.86 MB / 298.7 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.0002602/0.4219, allocations: 177.7 kB / 396 MB, free: 26.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/0.422, allocations: 35.53 kB / 396 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/0.4221, allocations: 51.94 kB / 396.1 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4221, allocations: 0 / 396.1 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4221, allocations: 3.938 kB / 396.1 MB, free: 26.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4221, allocations: 3.953 kB / 396.1 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.4226, allocations: 349.3 kB / 396.4 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4226, allocations: 0 / 396.4 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.4232, allocations: 43.91 kB / 396.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.4232, allocations: 0 / 396.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.4233, allocations: 12 kB / 396.5 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4233, allocations: 3.938 kB / 396.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4233, allocations: 4 kB / 396.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.4243, allocations: 0.5111 MB / 397 MB, free: 25.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.4244, allocations: 112.6 kB / 397.1 MB, free: 25.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-05/0.4245, allocations: 16 kB / 397.1 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.4248, allocations: 11.98 kB / 397.1 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.4249, allocations: 19.98 kB / 397.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4249, allocations: 4 kB / 397.1 MB, free: 25.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003504/0.4253, allocations: 275.1 kB / 397.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4253, allocations: 0 / 397.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003041/0.4284, allocations: 0.6444 MB / 398 MB, free: 24.51 MB / 298.7 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.004256/0.4327, allocations: 1.617 MB / 399.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.4347, allocations: 0.9567 MB / 400.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4347, allocations: 0 / 400.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.4351, allocations: 119.9 kB / 400.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000783/0.4359, allocations: 105 kB / 400.8 MB, free: 21.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.4394, allocations: 1.546 MB / 402.4 MB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4398, allocations: 0.8497 MB / 403.2 MB, free: 19.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4401, allocations: 131.3 kB / 403.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4401, allocations: 0 / 403.4 MB, free: 19.01 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.445/3.885, allocations: 14.45 MB / 417.8 MB, free: 4.543 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat