Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 180.7 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009051/0.0009051, allocations: 89.7 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003019, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.295, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.4159, allocations: 90.19 MB / 491.8 MB, free: 6.242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4163, allocations: 71.97 kB / 491.8 MB, free: 6.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04602/0.4623, allocations: 16.96 MB / 0.4969 GB, free: 5.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4624, allocations: 0 / 0.4969 GB, free: 5.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.04e-05/0.4624, allocations: 12 kB / 0.4969 GB, free: 5.168 MB / 378.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.001732/0.4641, allocations: 0.565 MB / 0.4974 GB, free: 4.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.4642, allocations: 11.97 kB / 0.4974 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.4643, allocations: 38.56 kB / 0.4975 GB, free: 4.496 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.196e-05/0.4644, allocations: 15.81 kB / 0.4975 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004433/0.4648, allocations: 235.3 kB / 0.4977 GB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4649, allocations: 8 kB / 0.4977 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.4649, allocations: 8 kB / 0.4977 GB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.4653, allocations: 141.3 kB / 0.4979 GB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.4653, allocations: 7.953 kB / 0.4979 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.4653, allocations: 0 / 0.4979 GB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4653, allocations: 3.938 kB / 0.4979 GB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.4655, allocations: 63.95 kB / 0.4979 GB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007777/0.4663, allocations: 396.4 kB / 0.4983 GB, free: 3.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.4667, allocations: 126.6 kB / 0.4984 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4668, allocations: 192 / 0.4984 GB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.4668, allocations: 42.5 kB / 0.4985 GB, free: 3.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.4668, allocations: 0 / 0.4985 GB, free: 3.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002371/0.4692, allocations: 1.222 MB / 0.4997 GB, free: 1.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.4693, allocations: 128.5 kB / 0.4998 GB, free: 1.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4695, allocations: 163.1 kB / 0.5 GB, free: 1.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4695, allocations: 25.7 kB / 0.5 GB, free: 1.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.4696, allocations: 116.4 kB / 0.5001 GB, free: 1.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.4696, allocations: 56.42 kB / 0.5001 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/0.4697, allocations: 4 kB / 0.5001 GB, free: 1.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4698, allocations: 334.8 kB / 0.5005 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.47, allocations: 87.95 kB / 0.5005 GB, free: 1.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.4702, allocations: 138.3 kB / 0.5007 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.4704, allocations: 116.6 kB / 0.5008 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4704, allocations: 0 / 0.5008 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005549/0.4709, allocations: 306.9 kB / 0.5011 GB, free: 484 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.471, allocations: 8 kB / 0.5011 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.471, allocations: 0 / 0.5011 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.4712, allocations: 44.81 kB / 0.5011 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4714, allocations: 39.92 kB / 0.5012 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2661/0.7375, allocations: 1.398 MB / 0.5025 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.7377, allocations: 14.06 kB / 0.5026 GB, free: 89.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7378, allocations: 6.188 kB / 0.5026 GB, free: 89.94 MB / 378.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 (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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.738, allocations: 140.1 kB / 0.5027 GB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.738, allocations: 14 kB / 0.5027 GB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.7381, allocations: 23.73 kB / 0.5027 GB, free: 89.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.7381, allocations: 6.391 kB / 0.5027 GB, free: 89.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.7381, allocations: 0.6875 kB / 0.5027 GB, free: 89.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7381, allocations: 1.219 kB / 0.5027 GB, free: 89.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.7384, allocations: 250.1 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7384, allocations: 0.6875 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003092/0.7388, allocations: 56.44 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.7388, allocations: 0.75 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.7388, allocations: 3.938 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.7388, allocations: 5.203 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7388, allocations: 4.469 kB / 0.503 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.7395, allocations: 415.4 kB / 0.5034 GB, free: 89.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.7395, allocations: 87.56 kB / 0.5035 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.7396, allocations: 2.203 kB / 0.5035 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.7397, allocations: 13.77 kB / 0.5035 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.7398, allocations: 14.08 kB / 0.5036 GB, free: 89.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.7398, allocations: 3.125 kB / 0.5036 GB, free: 89.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.7399, allocations: 127.4 kB / 0.5037 GB, free: 89.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7399, allocations: 0 / 0.5037 GB, free: 89.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002097/0.742, allocations: 0.5306 MB / 0.5042 GB, free: 89.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (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.002354/0.7444, allocations: 1.42 MB / 0.5056 GB, free: 88.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007636/0.7451, allocations: 393.9 kB / 0.506 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.7452, allocations: 1.25 kB / 0.506 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.7454, allocations: 93.12 kB / 0.506 GB, free: 88.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.7457, allocations: 23.72 kB / 0.5061 GB, free: 88.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.7471, allocations: 0.81 MB / 0.5069 GB, free: 88.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.7474, allocations: 0.7363 MB / 0.5076 GB, free: 87.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.7475, allocations: 39.64 kB / 0.5076 GB, free: 87.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.7476, allocations: 43.58 kB / 0.5077 GB, free: 87.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7476, allocations: 0 / 0.5077 GB, free: 87.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.7739, allocations: 9.432 MB / 0.5169 GB, free: 87.06 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.7741, allocations: 247.6 kB / 0.5171 GB, free: 86.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.663, allocations: 0 / 0.5171 GB, free: 86.82 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat