Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_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.0007939/0.000794, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.0008835/0.0008836, allocations: 183.9 kB / 17.21 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002962, allocations: 8.781 kB / 300.9 MB, free: 5.926 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 50.43 MB / 351.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001987/0.1122, allocations: 1.649 MB / 353 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005103/0.1173, allocations: 3.525 MB / 356.5 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.1175, allocations: 11.88 kB / 356.5 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.1179, allocations: 147.3 kB / 356.7 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.118, allocations: 35.72 kB / 356.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003198/0.1212, allocations: 1.51 MB / 358.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004621/0.1217, allocations: 434.6 kB / 358.6 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1218, allocations: 45.02 kB / 358.7 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.122, allocations: 163.3 kB / 358.8 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1222, allocations: 147.2 kB / 359 MB, free: 3.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1222, allocations: 12 kB / 359 MB, free: 3.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.1239, allocations: 1.42 MB / 360.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1241, allocations: 99.7 kB / 360.5 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.346e-05/0.1241, allocations: 77.45 kB / 360.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1257, allocations: 1.501 MB / 362.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1257, allocations: 0 / 362.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1257, allocations: 0 / 362.1 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1257, allocations: 0 / 362.1 MB, free: 0.8594 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.001556/0.1273, allocations: 0.8452 MB / 362.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1274, allocations: 12.03 kB / 362.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.1274, allocations: 46.34 kB / 363 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1275, allocations: 47.44 kB / 363 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.128, allocations: 333.4 kB / 363.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.128, allocations: 12.28 kB / 363.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.617e-05/0.1281, allocations: 27.91 kB / 363.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.1285, allocations: 307 kB / 363.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1285, allocations: 4 kB / 363.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1285, allocations: 15.95 kB / 363.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1286, allocations: 4 kB / 363.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.1288, allocations: 148.7 kB / 363.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1299, allocations: 0.6797 MB / 364.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/0.1305, allocations: 311.6 kB / 364.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1307, allocations: 117.1 kB / 365 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1307, allocations: 4.188 kB / 365 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1307, allocations: 38.75 kB / 365 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.533e-06/0.1307, allocations: 0 / 365 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006997/0.1314, allocations: 388.5 kB / 365.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000184/0.1316, allocations: 367.8 kB / 365.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.132, allocations: 409.7 kB / 366.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1321, allocations: 33.7 kB / 366.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1322, allocations: 192.8 kB / 366.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.1323, allocations: 86.75 kB / 366.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.1323, allocations: 4 kB / 366.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1324, allocations: 362.8 kB / 366.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.1327, allocations: 208.4 kB / 367 MB, free: 11.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.1331, allocations: 314.4 kB / 367.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.1335, allocations: 249.5 kB / 367.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1335, allocations: 0 / 367.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001036/0.1345, allocations: 0.6496 MB / 368.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1346, allocations: 7.938 kB / 368.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/0.1346, allocations: 15.98 kB / 368.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.135, allocations: 126.5 kB / 368.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1353, allocations: 63.89 kB / 368.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.1384, allocations: 4.219 MB / 372.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.1386, allocations: 51.55 kB / 372.7 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.1386, allocations: 12 kB / 372.7 MB, free: 5.438 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.0002159/0.1389, allocations: 181.8 kB / 372.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.1389, allocations: 39.47 kB / 372.9 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.139, allocations: 47.75 kB / 373 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.139, allocations: 0 / 373 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.139, allocations: 0 / 373 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.139, allocations: 0 / 373 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1394, allocations: 353.2 kB / 373.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1394, allocations: 0 / 373.3 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.1397, allocations: 47.92 kB / 373.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1397, allocations: 4 kB / 373.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.1397, allocations: 11.98 kB / 373.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1397, allocations: 0 / 373.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1398, allocations: 0 / 373.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1404, allocations: 0.5065 MB / 373.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.1405, allocations: 116.5 kB / 374 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.1406, allocations: 11.98 kB / 374 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.1407, allocations: 15.98 kB / 374 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.1408, allocations: 15.92 kB / 374 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1408, allocations: 8 kB / 374 MB, free: 4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.1411, allocations: 271.1 kB / 374.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1411, allocations: 0 / 374.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001945/0.143, allocations: 0.6522 MB / 375 MB, free: 3.082 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.002535/0.1456, allocations: 1.623 MB / 376.6 MB, free: 1.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1469, allocations: 0.9428 MB / 377.5 MB, free: 428 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1469, allocations: 4 kB / 377.5 MB, free: 424 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.1471, allocations: 120.6 kB / 377.6 MB, free: 304 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.1477, allocations: 96.67 kB / 377.7 MB, free: 212 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.1521, allocations: 3.018 MB / 380.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.1527, allocations: 0.8419 MB / 381.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.1529, allocations: 70.91 kB / 381.7 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.1531, allocations: 135.4 kB / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1531, allocations: 0 / 381.8 MB, free: 12.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.1839, allocations: 16.68 MB / 398.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.1842, allocations: 227.6 kB / 398.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/2.289, allocations: 0 / 398.7 MB, free: 11.29 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat does not exist to compare? outputFormat=mat