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.002418/0.002418, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.298/2.298, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001205/0.001205, allocations: 78.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.815e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5779, allocations: 89.21 MB / 458.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5782, allocations: 71.44 kB / 458.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0466/0.6248, allocations: 9.9 MB / 468.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.6249, allocations: 0 / 468.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.091e-05/0.625, allocations: 12 kB / 468.4 MB, free: 11.43 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001034/0.626, allocations: 0.5156 MB / 468.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.6261, allocations: 8.031 kB / 468.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.6261, allocations: 54.11 kB / 468.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.6263, allocations: 31.62 kB / 469 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.6272, allocations: 349.9 kB / 469.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.6272, allocations: 10.06 kB / 469.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.451e-05/0.6273, allocations: 18.94 kB / 469.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.6278, allocations: 217.4 kB / 469.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.6278, allocations: 0 / 469.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.6278, allocations: 3.812 kB / 469.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6278, allocations: 4 kB / 469.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.6281, allocations: 78.02 kB / 469.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.6295, allocations: 0.4931 MB / 470.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.6299, allocations: 162.8 kB / 470.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.6301, allocations: 55.53 kB / 470.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.6301, allocations: 112 / 470.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.6302, allocations: 38.19 kB / 470.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.6302, allocations: 4 kB / 470.4 MB, free: 9.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005142/0.6307, allocations: 159.5 kB / 470.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.6309, allocations: 286.7 kB / 470.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.6313, allocations: 246.8 kB / 471.1 MB, free: 8.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.6314, allocations: 29.39 kB / 471.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.6315, allocations: 211.1 kB / 471.3 MB, free: 8.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.685e-05/0.6316, allocations: 62.44 kB / 471.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/0.6317, allocations: 0 / 471.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.6318, allocations: 325.8 kB / 471.7 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.6321, allocations: 84.59 kB / 471.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.6324, allocations: 165.8 kB / 471.9 MB, free: 7.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.6328, allocations: 122.9 kB / 472 MB, free: 7.812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6328, allocations: 0 / 472 MB, free: 7.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007108/0.6335, allocations: 262.7 kB / 472.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6336, allocations: 8 kB / 472.3 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.609e-05/0.6336, allocations: 11.98 kB / 472.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.6337, allocations: 3.953 kB / 472.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005167/0.6342, allocations: 55.91 kB / 472.4 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6342, allocations: 0 / 472.4 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.6345, allocations: 31.67 kB / 472.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.6345, allocations: 12 kB / 472.4 MB, free: 7.43 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 (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.0001756/0.6347, allocations: 109 kB / 472.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.6348, allocations: 23.72 kB / 472.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.6349, allocations: 34.08 kB / 472.6 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6349, allocations: 4 kB / 472.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.635, allocations: 3.953 kB / 472.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.635, allocations: 0 / 472.6 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004996/0.6355, allocations: 273.4 kB / 472.8 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.6355, allocations: 3.938 kB / 472.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.6359, allocations: 27.98 kB / 472.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6359, allocations: 0 / 472.9 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.6359, allocations: 7.984 kB / 472.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.636, allocations: 0 / 472.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.636, allocations: 0 / 472.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.6367, allocations: 331.4 kB / 473.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.6368, allocations: 104.7 kB / 473.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.6369, allocations: 4 kB / 473.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.6371, allocations: 12.05 kB / 473.3 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.6372, allocations: 11.94 kB / 473.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.6372, allocations: 4 kB / 473.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003432/0.6376, allocations: 194.2 kB / 473.5 MB, free: 6.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6376, allocations: 4 kB / 473.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.6382, allocations: 91.83 kB / 473.6 MB, free: 6.117 MB / 346.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 () * 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.001266/0.6394, allocations: 0.9003 MB / 474.5 MB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006254/0.6401, allocations: 261 kB / 474.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6401, allocations: 0 / 474.8 MB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.6403, allocations: 68 kB / 474.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.6409, allocations: 72.66 kB / 474.9 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.6428, allocations: 0.5659 MB / 475.5 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.6434, allocations: 0.7833 MB / 476.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6436, allocations: 79.42 kB / 476.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6436, allocations: 0 / 476.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.404, allocations: 4.97 MB / 481.3 MB, free: 14.31 MB / 362.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