Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.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.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",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.001577/0.00158, allocations: 185.8 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.03/2.03, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001087/0.001087, allocations: 95.31 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3364, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4839, allocations: 89.29 MB / 463.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4842, allocations: 79.95 kB / 464 MB, free: 7.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04769/0.5319, allocations: 9.933 MB / 473.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.532, allocations: 0 / 473.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.382e-05/0.532, allocations: 15.94 kB / 473.9 MB, free: 13.4 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001434/0.5335, allocations: 0.5605 MB / 474.5 MB, free: 12.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.5336, allocations: 20.02 kB / 474.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.973e-05/0.5337, allocations: 50.5 kB / 474.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.5338, allocations: 31.62 kB / 474.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.5347, allocations: 346.9 kB / 474.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.5348, allocations: 8.188 kB / 475 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.5348, allocations: 27.86 kB / 475 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.5354, allocations: 226.5 kB / 475.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5354, allocations: 0 / 475.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.5354, allocations: 8 kB / 475.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5354, allocations: 0 / 475.2 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003348/0.5358, allocations: 96.5 kB / 475.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.5371, allocations: 497.2 kB / 475.8 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.5376, allocations: 178.5 kB / 476 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5376, allocations: 0 / 476 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.5377, allocations: 30.56 kB / 476 MB, free: 11.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.5377, allocations: 4 kB / 476 MB, free: 11.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008097/0.5385, allocations: 225.2 kB / 476.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.5387, allocations: 294.7 kB / 476.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.5391, allocations: 247.6 kB / 476.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5392, allocations: 33.69 kB / 476.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.5393, allocations: 206.9 kB / 477 MB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.5394, allocations: 51.3 kB / 477 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.5394, allocations: 4 kB / 477 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5396, allocations: 326.8 kB / 477.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.5399, allocations: 95.94 kB / 477.4 MB, free: 9.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.5403, allocations: 169.4 kB / 477.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.5407, allocations: 129 kB / 477.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5407, allocations: 0 / 477.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007969/0.5415, allocations: 289.3 kB / 478 MB, free: 8.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.5416, allocations: 9.562 kB / 478 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-05/0.5416, allocations: 7.984 kB / 478 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.5417, allocations: 7.984 kB / 478 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.5422, allocations: 55.86 kB / 478.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5422, allocations: 112 / 478.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.5425, allocations: 23.78 kB / 478.1 MB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.5425, allocations: 15.98 kB / 478.1 MB, free: 8.867 MB / 362.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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 prepare postOptimizeDAE: time 0.0002455/0.5428, allocations: 141.8 kB / 478.3 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.5429, allocations: 27.62 kB / 478.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.543, allocations: 29.97 kB / 478.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.543, allocations: 4 kB / 478.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.543, allocations: 3.953 kB / 478.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.543, allocations: 0 / 478.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004322/0.5435, allocations: 273.4 kB / 478.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5435, allocations: 0 / 478.6 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.5438, allocations: 27.98 kB / 478.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5439, allocations: 0 / 478.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.5439, allocations: 4 kB / 478.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5439, allocations: 0 / 478.6 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5439, allocations: 4 kB / 478.6 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007827/0.5447, allocations: 350.2 kB / 479 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.5448, allocations: 100.8 kB / 479.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.5449, allocations: 4 kB / 479.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.5451, allocations: 12.19 kB / 479.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.5452, allocations: 11.98 kB / 479.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5452, allocations: 7.953 kB / 479.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.5455, allocations: 195.1 kB / 479.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5455, allocations: 0 / 479.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006044/0.5461, allocations: 99.77 kB / 479.4 MB, free: 7.504 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.001347/0.5475, allocations: 0.9288 MB / 480.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.5483, allocations: 277.6 kB / 480.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5483, allocations: 0 / 480.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.5485, allocations: 67.91 kB / 480.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.5491, allocations: 76.12 kB / 480.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.5514, allocations: 0.9291 MB / 481.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.5519, allocations: 0.7833 MB / 482.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.5521, allocations: 79.42 kB / 482.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5521, allocations: 0 / 482.5 MB, free: 4.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.738/3.29, allocations: 4.877 MB / 487.4 MB, free: 15.38 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat