Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_cpp_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.001649/0.001649, allocations: 185.1 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 97.88 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 12 kB / 327.1 MB, free: 144 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3355, allocations: 47.56 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4806, allocations: 89.44 MB / 464.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.4809, allocations: 75.97 kB / 464.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08635/0.5673, allocations: 16.88 MB / 481 MB, free: 6.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.83e-06/0.5674, allocations: 0 / 481 MB, free: 6.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.5674, allocations: 11.88 kB / 481 MB, free: 6.309 MB / 362.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.001696/0.5691, allocations: 0.565 MB / 481.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.5692, allocations: 8.031 kB / 481.6 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.5692, allocations: 38.56 kB / 481.6 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.5693, allocations: 15.81 kB / 481.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.5698, allocations: 242.7 kB / 481.9 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.5699, allocations: 8 kB / 481.9 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.5699, allocations: 8 kB / 481.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.5703, allocations: 133.9 kB / 482 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.5703, allocations: 3.906 kB / 482 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.5703, allocations: 8 kB / 482 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5704, allocations: 4 kB / 482 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.5706, allocations: 63.88 kB / 482.1 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.5715, allocations: 392.6 kB / 482.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005313/0.572, allocations: 126.5 kB / 482.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5721, allocations: 4 kB / 482.6 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.5721, allocations: 30.78 kB / 482.7 MB, free: 4.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.245e-06/0.5721, allocations: 0 / 482.7 MB, free: 4.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.003549/0.5757, allocations: 1.233 MB / 483.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.983e-05/0.5758, allocations: 132.5 kB / 484 MB, free: 2.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.576, allocations: 154 kB / 484.2 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.5761, allocations: 38.08 kB / 484.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5762, allocations: 174.8 kB / 484.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.5763, allocations: 43.27 kB / 484.4 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.5763, allocations: 8 kB / 484.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5765, allocations: 326.8 kB / 484.7 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.5768, allocations: 99.94 kB / 484.8 MB, free: 2.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.5771, allocations: 132.8 kB / 485 MB, free: 1.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.5775, allocations: 116.9 kB / 485.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5775, allocations: 0 / 485.1 MB, free: 1.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009417/0.5784, allocations: 298.2 kB / 485.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.5785, allocations: 7.984 kB / 485.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.5785, allocations: 7.938 kB / 485.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002753/0.5788, allocations: 40.83 kB / 485.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.5791, allocations: 35.97 kB / 485.5 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.5809, allocations: 1.425 MB / 486.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.5812, allocations: 4.031 kB / 486.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.5812, allocations: 11.98 kB / 486.9 MB, free: 15.91 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.0002031/0.5814, allocations: 134.2 kB / 487 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.5815, allocations: 24.08 kB / 487.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.943e-05/0.5816, allocations: 17.53 kB / 487.1 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.5816, allocations: 8 kB / 487.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.5816, allocations: 0 / 487.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5816, allocations: 0 / 487.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.5821, allocations: 249.5 kB / 487.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5821, allocations: 0 / 487.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.5826, allocations: 51.97 kB / 487.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5826, allocations: 0 / 487.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5826, allocations: 4.047 kB / 487.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5827, allocations: 7.984 kB / 487.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.5827, allocations: 3.984 kB / 487.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009386/0.5836, allocations: 419.1 kB / 487.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.5837, allocations: 92.92 kB / 487.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.5838, allocations: 4 kB / 487.9 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.5839, allocations: 12 kB / 487.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.584, allocations: 7.984 kB / 487.9 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.584, allocations: 3.938 kB / 487.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.5842, allocations: 127.2 kB / 488 MB, free: 14.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5842, allocations: 0 / 488 MB, free: 14.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002225/0.5865, allocations: 0.5311 MB / 488.6 MB, free: 14.14 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.003545/0.59, allocations: 1.412 MB / 490 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.5912, allocations: 403.9 kB / 490.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5912, allocations: 0 / 490.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002602/0.5915, allocations: 87.89 kB / 490.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.5919, allocations: 25.05 kB / 490.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.5941, allocations: 0.8454 MB / 491.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.5946, allocations: 0.7363 MB / 492.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.5948, allocations: 51.36 kB / 492.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5948, allocations: 0 / 492.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.988/3.583, allocations: 7.724 MB / 499.8 MB, free: 2.734 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat