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.002129/0.002129, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 97.77 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.165e-05, allocations: 0 / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3345, allocations: 47.57 MB / 362.4 MB, free: 45.71 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.4803, allocations: 88.54 MB / 451 MB, free: 13.65 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4807, allocations: 67.97 kB / 451 MB, free: 13.58 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04677/0.5274, allocations: 9.848 MB / 460.9 MB, free: 3.785 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5275, allocations: 4 kB / 460.9 MB, free: 3.781 MB / 347.1 MB Notification: Performance of Transformations before backend: time 4.612e-05/0.5276, allocations: 15.94 kB / 460.9 MB, free: 3.766 MB / 347.1 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.001065/0.5286, allocations: 0.5159 MB / 461.4 MB, free: 3.203 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5287, allocations: 8.031 kB / 461.4 MB, free: 3.195 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.5288, allocations: 31.62 kB / 461.5 MB, free: 3.164 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.5297, allocations: 357.2 kB / 461.8 MB, free: 2.773 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.5297, allocations: 4 kB / 461.8 MB, free: 2.77 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.5298, allocations: 11.98 kB / 461.8 MB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002374/0.53, allocations: 68.34 kB / 461.9 MB, free: 2.691 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.5304, allocations: 206.2 kB / 462.1 MB, free: 2.445 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5305, allocations: 0 / 462.1 MB, free: 2.445 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.5305, allocations: 0 / 462.1 MB, free: 2.445 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5305, allocations: 4 kB / 462.1 MB, free: 2.441 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.5318, allocations: 469.4 kB / 462.5 MB, free: 1.945 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.5322, allocations: 154.5 kB / 462.7 MB, free: 1.785 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.5323, allocations: 49.34 kB / 462.7 MB, free: 1.734 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5324, allocations: 4 kB / 462.7 MB, free: 1.73 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.5324, allocations: 38.67 kB / 462.8 MB, free: 1.684 MB / 347.1 MB Notification: Performance of pre-optimization done (n=13): time 2.554e-06/0.5324, allocations: 3.938 kB / 462.8 MB, free: 1.68 MB / 347.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004602/0.5329, allocations: 154 kB / 462.9 MB, free: 1.523 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.5331, allocations: 286.7 kB / 463.2 MB, free: 1.176 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.5334, allocations: 238.5 kB / 463.5 MB, free: 0.9414 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.5335, allocations: 25.7 kB / 463.5 MB, free: 0.9102 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5337, allocations: 199 kB / 463.7 MB, free: 0.7148 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.5337, allocations: 59.25 kB / 463.7 MB, free: 0.6562 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.5338, allocations: 0 / 463.7 MB, free: 0.6562 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5339, allocations: 314.8 kB / 464 MB, free: 348 kB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5341, allocations: 87.95 kB / 464.1 MB, free: 260 kB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.5345, allocations: 152.5 kB / 464.3 MB, free: 76 kB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.5349, allocations: 115.9 kB / 464.4 MB, free: 15.96 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5349, allocations: 0 / 464.4 MB, free: 15.96 MB / 363.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007149/0.5356, allocations: 254.4 kB / 464.6 MB, free: 15.71 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.5357, allocations: 4 kB / 464.6 MB, free: 15.7 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-05/0.5357, allocations: 11.98 kB / 464.6 MB, free: 15.69 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5358, allocations: 6.156 kB / 464.7 MB, free: 15.69 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.5363, allocations: 47.91 kB / 464.7 MB, free: 15.64 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.5363, allocations: 15.98 kB / 464.7 MB, free: 15.62 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/0.5365, allocations: 23.64 kB / 464.7 MB, free: 15.6 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.5366, allocations: 8 kB / 464.7 MB, free: 15.59 MB / 363.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 () * 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.0001263/0.5367, allocations: 108.9 kB / 464.9 MB, free: 15.48 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000385/0.5371, allocations: 155 kB / 465 MB, free: 15.32 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.5372, allocations: 27.62 kB / 465 MB, free: 15.3 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.5373, allocations: 30.09 kB / 465.1 MB, free: 15.26 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.5374, allocations: 3.953 kB / 465.1 MB, free: 15.26 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5374, allocations: 4 kB / 465.1 MB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5374, allocations: 0 / 465.1 MB, free: 15.25 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.5378, allocations: 230.1 kB / 465.3 MB, free: 14.99 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5378, allocations: 0 / 465.3 MB, free: 14.99 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.5382, allocations: 31.92 kB / 465.3 MB, free: 14.96 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.5382, allocations: 4 kB / 465.3 MB, free: 14.96 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.5382, allocations: 3.984 kB / 465.3 MB, free: 14.95 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5382, allocations: 0 / 465.3 MB, free: 14.95 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5383, allocations: 0 / 465.3 MB, free: 14.95 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.5389, allocations: 315.8 kB / 465.6 MB, free: 14.63 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.539, allocations: 108.6 kB / 465.7 MB, free: 14.5 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.539, allocations: 0 / 465.7 MB, free: 14.5 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.5393, allocations: 11.98 kB / 465.8 MB, free: 14.49 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.5393, allocations: 9.016 kB / 465.8 MB, free: 14.48 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.5394, allocations: 3.953 kB / 465.8 MB, free: 14.48 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.5396, allocations: 184.7 kB / 466 MB, free: 14.3 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.985e-06/0.5397, allocations: 0 / 466 MB, free: 14.3 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.5403, allocations: 87.8 kB / 466 MB, free: 14.21 MB / 363.1 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.001136/0.5414, allocations: 0.8887 MB / 466.9 MB, free: 13.3 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0005936/0.542, allocations: 261.5 kB / 467.2 MB, free: 13.03 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.542, allocations: 0 / 467.2 MB, free: 13.03 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.5422, allocations: 55.91 kB / 467.2 MB, free: 12.97 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.5428, allocations: 72.95 kB / 467.3 MB, free: 12.9 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.5447, allocations: 0.5523 MB / 467.9 MB, free: 12.31 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.5452, allocations: 0.7794 MB / 468.6 MB, free: 11.5 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.5454, allocations: 79.42 kB / 468.7 MB, free: 11.42 MB / 363.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5454, allocations: 4 kB / 468.7 MB, free: 11.42 MB / 363.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.374, allocations: 4.932 MB / 473.7 MB, free: 6.527 MB / 363.1 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