Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",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.001278/0.001278, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 90.7 kB / 262.5 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.604e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08233, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3081/0.3905, allocations: 88.92 MB / 452.1 MB, free: 6.723 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3908, allocations: 71.41 kB / 452.1 MB, free: 6.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0445/0.4353, allocations: 16.81 MB / 469 MB, free: 7.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4353, allocations: 4 kB / 469 MB, free: 7.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4354, allocations: 8.688 kB / 469 MB, free: 7.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001004/0.4364, allocations: 0.5441 MB / 469.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4364, allocations: 8.031 kB / 469.5 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.4365, allocations: 15.81 kB / 469.5 MB, free: 6.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.4368, allocations: 230.9 kB / 469.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.4368, allocations: 11.95 kB / 469.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.4369, allocations: 11.73 kB / 469.8 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.437, allocations: 42.55 kB / 469.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.4372, allocations: 122.2 kB / 469.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4372, allocations: 0 / 469.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.4372, allocations: 0 / 469.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4372, allocations: 0 / 469.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.4378, allocations: 364.4 kB / 470.3 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.4381, allocations: 119.5 kB / 470.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.4382, allocations: 42.75 kB / 470.5 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.4382, allocations: 0 / 470.5 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.4382, allocations: 30.56 kB / 470.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.4382, allocations: 0 / 470.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001747/0.44, allocations: 1.083 MB / 471.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.4401, allocations: 132.5 kB / 471.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4402, allocations: 152.4 kB / 471.9 MB, free: 4.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.4402, allocations: 25.7 kB / 471.9 MB, free: 4.277 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.4403, allocations: 117.6 kB / 472 MB, free: 4.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4403, allocations: 50.08 kB / 472 MB, free: 4.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.4404, allocations: 0 / 472 MB, free: 4.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4405, allocations: 333.1 kB / 472.4 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4406, allocations: 84.72 kB / 472.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.4407, allocations: 116.3 kB / 472.6 MB, free: 3.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.4409, allocations: 95.95 kB / 472.7 MB, free: 3.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4409, allocations: 4 kB / 472.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004464/0.4414, allocations: 289.7 kB / 472.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4414, allocations: 4 kB / 472.9 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.4414, allocations: 4 kB / 473 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.4416, allocations: 39.75 kB / 473 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.4418, allocations: 35.61 kB / 473 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4418, allocations: 0 / 473 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.096e-05/0.4419, allocations: 15.88 kB / 473 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4419, allocations: 7.984 kB / 473 MB, free: 3.262 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.442, allocations: 108.9 kB / 473.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002475/0.4423, allocations: 171.1 kB / 473.3 MB, free: 3.012 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.4423, allocations: 11.91 kB / 473.3 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.55e-05/0.4424, allocations: 20.47 kB / 473.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.4424, allocations: 0 / 473.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4424, allocations: 0 / 473.4 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4424, allocations: 7.922 kB / 473.4 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.443, allocations: 491.5 kB / 473.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.443, allocations: 0 / 473.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4432, allocations: 39.17 kB / 473.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4432, allocations: 0 / 473.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.4432, allocations: 3.984 kB / 473.9 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4432, allocations: 4 kB / 473.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4432, allocations: 4 kB / 473.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.4437, allocations: 366.1 kB / 474.2 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4437, allocations: 88.92 kB / 474.3 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4438, allocations: 4 kB / 474.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4439, allocations: 8.031 kB / 474.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.4439, allocations: 10.98 kB / 474.4 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.444, allocations: 4 kB / 474.4 MB, free: 2.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.814e-05/0.444, allocations: 116.6 kB / 474.5 MB, free: 1.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4441, allocations: 4 kB / 474.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001773/0.4458, allocations: 0.5213 MB / 475 MB, free: 1.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.001947/0.4478, allocations: 1.362 MB / 476.4 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004979/0.4483, allocations: 345.2 kB / 476.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4483, allocations: 0 / 476.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4484, allocations: 76.97 kB / 476.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.4487, allocations: 24.44 kB / 476.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4498, allocations: 0.5006 MB / 477.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.4501, allocations: 0.7359 MB / 478 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.219e-05/0.4502, allocations: 29.19 kB / 478.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.4503, allocations: 44.55 kB / 478.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4503, allocations: 0 / 478.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03067/0.4809, allocations: 9.522 MB / 487.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.4812, allocations: 164 kB / 487.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.154, allocations: 0 / 487.8 MB, free: 4.758 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat