Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008078/0.0008078, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008278/0.0008279, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002555, allocations: 8 kB / 306.8 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 51.49 MB / 358.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00163/0.1157, allocations: 1.317 MB / 359.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004391/0.1201, allocations: 3.069 MB / 362.7 MB, free: 9.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1202, allocations: 8 kB / 362.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1205, allocations: 39.77 kB / 362.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.301e-05/0.1206, allocations: 15.86 kB / 362.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.1233, allocations: 1.061 MB / 363.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1236, allocations: 127.6 kB / 363.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1237, allocations: 29.03 kB / 363.9 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/0.1238, allocations: 35.86 kB / 364 MB, free: 8.102 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.1239, allocations: 47.77 kB / 364 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1239, allocations: 8 kB / 364 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.1252, allocations: 1.108 MB / 365.1 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1253, allocations: 27.92 kB / 365.2 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1254, allocations: 41.64 kB / 365.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.1263, allocations: 1.08 MB / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1264, allocations: 0 / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1264, allocations: 0 / 366.3 MB, free: 5.781 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1264, allocations: 0 / 366.3 MB, free: 5.781 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008543/0.1272, allocations: 0.5534 MB / 366.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1273, allocations: 8.031 kB / 366.9 MB, free: 5.172 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1273, allocations: 38.56 kB / 366.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1274, allocations: 15.81 kB / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1276, allocations: 206.9 kB / 367.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1276, allocations: 8 kB / 367.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.1277, allocations: 15.95 kB / 367.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.1279, allocations: 129 kB / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.128, allocations: 0 / 367.3 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.128, allocations: 8 kB / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.128, allocations: 0 / 367.3 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1281, allocations: 62.34 kB / 367.3 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1287, allocations: 388.4 kB / 367.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1291, allocations: 130.6 kB / 367.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.1292, allocations: 41.03 kB / 367.9 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1292, allocations: 7.938 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.1292, allocations: 34.56 kB / 367.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1292, allocations: 0 / 367.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002077/0.1313, allocations: 1.226 MB / 369.1 MB, free: 2.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.1314, allocations: 140.5 kB / 369.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1315, allocations: 174.3 kB / 369.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1316, allocations: 25.7 kB / 369.5 MB, free: 2.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.1316, allocations: 116.4 kB / 369.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1317, allocations: 43.27 kB / 369.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.1317, allocations: 8 kB / 369.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1318, allocations: 326.8 kB / 370 MB, free: 1.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.132, allocations: 95.94 kB / 370.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.1322, allocations: 135.2 kB / 370.2 MB, free: 1.504 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1324, allocations: 116.8 kB / 370.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1324, allocations: 3.938 kB / 370.3 MB, free: 1.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000517/0.1329, allocations: 310.1 kB / 370.6 MB, free: 1.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1329, allocations: 8 kB / 370.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.133, allocations: 0 / 370.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.1331, allocations: 40.83 kB / 370.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1333, allocations: 39.91 kB / 370.7 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2004/0.3337, allocations: 1.397 MB / 372.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3339, allocations: 12.42 kB / 372.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3339, allocations: 14.62 kB / 372.1 MB, free: 17.85 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 (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.0001423/0.334, allocations: 132.6 kB / 372.2 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3341, allocations: 17.25 kB / 372.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.3342, allocations: 23.28 kB / 372.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3342, allocations: 2.594 kB / 372.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3342, allocations: 0.6562 kB / 372.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3342, allocations: 7.688 kB / 372.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.3345, allocations: 245 kB / 372.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3345, allocations: 1 kB / 372.5 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.3348, allocations: 59.22 kB / 372.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3348, allocations: 4.875 kB / 372.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3348, allocations: 0.8438 kB / 372.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3348, allocations: 7.266 kB / 372.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3348, allocations: 1.25 kB / 372.6 MB, free: 17.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.3353, allocations: 419.4 kB / 373 MB, free: 17.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.3354, allocations: 88.03 kB / 373.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3354, allocations: 6.641 kB / 373.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3355, allocations: 8.922 kB / 373.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3355, allocations: 14.83 kB / 373.1 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3356, allocations: 3.188 kB / 373.1 MB, free: 17.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.135e-05/0.3357, allocations: 126.7 kB / 373.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3357, allocations: 0 / 373.3 MB, free: 17.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001571/0.3372, allocations: 0.5171 MB / 373.8 MB, free: 17.24 MB / 302.1 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.001769/0.339, allocations: 1.394 MB / 375.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.3396, allocations: 392.8 kB / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3396, allocations: 2.219 kB / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.3398, allocations: 88.42 kB / 375.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3402, allocations: 31.39 kB / 375.7 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3421, allocations: 1.369 MB / 377 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3423, allocations: 0.7331 MB / 377.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3424, allocations: 30.25 kB / 377.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.3425, allocations: 45.3 kB / 377.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3425, allocations: 0 / 377.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.3716, allocations: 9.566 MB / 387.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.3718, allocations: 252.9 kB / 387.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.419, allocations: 0 / 387.7 MB, free: 12.33 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat