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.0009692/0.0009693, allocations: 94.53 kB / 16.3 MB, free: 5.656 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.0009892/0.0009892, allocations: 183.8 kB / 17.2 MB, free: 5.59 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.37/1.37, allocations: 223.2 MB / 241.1 MB, free: 292 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002869, allocations: 8 kB / 300.8 MB, free: 6.379 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1091, allocations: 50.4 MB / 351.2 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002136/0.1113, allocations: 1.655 MB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.1174, allocations: 3.506 MB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.1176, allocations: 11.88 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006006/0.1182, allocations: 223.3 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1184, allocations: 39.8 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.1224, allocations: 1.46 MB / 358.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1229, allocations: 335.2 kB / 358.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.123, allocations: 53 kB / 358.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1232, allocations: 167.4 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1234, allocations: 151.2 kB / 358.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1235, allocations: 12 kB / 358.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/0.1252, allocations: 1.339 MB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1254, allocations: 107.7 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.41e-05/0.1255, allocations: 81.45 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.127, allocations: 1.489 MB / 361.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.127, allocations: 4 kB / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.127, allocations: 0 / 361.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.127, allocations: 0 / 361.8 MB, free: 9.328 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.001417/0.1284, allocations: 0.8373 MB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1285, allocations: 8.031 kB / 362.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.1285, allocations: 54.5 kB / 362.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.1286, allocations: 43.44 kB / 362.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1291, allocations: 337.2 kB / 363.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1291, allocations: 16.28 kB / 363.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.367e-05/0.1292, allocations: 27.91 kB / 363.1 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.1296, allocations: 303.1 kB / 363.4 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1296, allocations: 4 kB / 363.4 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.1297, allocations: 12 kB / 363.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1297, allocations: 7.953 kB / 363.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002653/0.1299, allocations: 148.7 kB / 363.6 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1311, allocations: 0.6797 MB / 364.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.1317, allocations: 322.2 kB / 364.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1317, allocations: 192 / 364.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1318, allocations: 42.69 kB / 364.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.1318, allocations: 0 / 364.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006764/0.1325, allocations: 392.2 kB / 365 MB, free: 5.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.1326, allocations: 367.8 kB / 365.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.133, allocations: 405.8 kB / 365.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.1331, allocations: 33.7 kB / 365.8 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1332, allocations: 188.8 kB / 366 MB, free: 4.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.1333, allocations: 86.7 kB / 366.1 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.1333, allocations: 8.109 kB / 366.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1335, allocations: 366.7 kB / 366.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003096/0.1338, allocations: 200.4 kB / 366.6 MB, free: 4.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.1342, allocations: 322.3 kB / 366.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.1345, allocations: 241.5 kB / 367.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1346, allocations: 0 / 367.2 MB, free: 3.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001028/0.1356, allocations: 0.6419 MB / 367.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1356, allocations: 15.89 kB / 367.8 MB, free: 2.922 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/0.1357, allocations: 11.92 kB / 367.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.1361, allocations: 126.5 kB / 368 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.1364, allocations: 71.83 kB / 368 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2258/0.3622, allocations: 4.246 MB / 372.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3626, allocations: 51.64 kB / 372.3 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3626, allocations: 14.42 kB / 372.4 MB, free: 21.27 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.0002277/0.3629, allocations: 175 kB / 372.5 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.3629, allocations: 38.66 kB / 372.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.813e-05/0.363, allocations: 45.02 kB / 372.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.363, allocations: 3.094 kB / 372.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.363, allocations: 2.031 kB / 372.6 MB, free: 21.15 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.363, allocations: 4.562 kB / 372.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.3635, allocations: 349.9 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3635, allocations: 1.062 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.3637, allocations: 44.78 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.3638, allocations: 1.375 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3638, allocations: 12.27 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3638, allocations: 1.906 kB / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3638, allocations: 0 / 373 MB, free: 20.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.3645, allocations: 0.511 MB / 373.5 MB, free: 20.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.3646, allocations: 115.1 kB / 373.6 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.3647, allocations: 11.81 kB / 373.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3648, allocations: 15.61 kB / 373.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3649, allocations: 21.38 kB / 373.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.3649, allocations: 8.641 kB / 373.7 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.3652, allocations: 269.7 kB / 374 MB, free: 20.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 0 / 374 MB, free: 20.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002236/0.3675, allocations: 0.6542 MB / 374.6 MB, free: 20.62 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.002148/0.3696, allocations: 1.612 MB / 376.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.371, allocations: 0.9469 MB / 377.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.371, allocations: 1.281 kB / 377.2 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.3713, allocations: 132 kB / 377.3 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.3718, allocations: 97.12 kB / 377.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.3739, allocations: 1.491 MB / 378.9 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3743, allocations: 0.8504 MB / 379.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.3745, allocations: 71.98 kB / 379.8 MB, free: 18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.3747, allocations: 129.8 kB / 379.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3747, allocations: 0 / 379.9 MB, free: 17.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.4094, allocations: 16.37 MB / 396.3 MB, free: 9.797 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001176/0.4095, allocations: 222.7 kB / 396.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.535, allocations: 0 / 396.5 MB, free: 9.559 MB / 302.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