Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_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.001393/0.001393, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.000935, allocations: 78.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.701e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08967, allocations: 47.59 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3021/0.3918, allocations: 88.79 MB / 451.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.392, allocations: 70.22 kB / 452 MB, free: 6.766 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.4186, allocations: 9.837 MB / 461.9 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4186, allocations: 4 kB / 461.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.4186, allocations: 11.94 kB / 461.9 MB, free: 14.59 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.0008013/0.4195, allocations: 0.5216 MB / 462.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4195, allocations: 12.03 kB / 462.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.4196, allocations: 31.62 kB / 462.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005234/0.4201, allocations: 355.4 kB / 462.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4202, allocations: 0 / 462.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.4202, allocations: 15.94 kB / 462.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001474/0.4204, allocations: 71.59 kB / 462.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.4206, allocations: 202.9 kB / 463.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4207, allocations: 0 / 463.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.4207, allocations: 0 / 463.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4207, allocations: 4 kB / 463.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.4214, allocations: 474.2 kB / 463.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.4217, allocations: 153.1 kB / 463.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.148e-05/0.4218, allocations: 50.91 kB / 463.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4218, allocations: 4 kB / 463.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.4218, allocations: 34.06 kB / 463.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/0.4218, allocations: 4.109 kB / 463.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002863/0.4221, allocations: 154.1 kB / 463.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.4223, allocations: 290.7 kB / 464.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.4225, allocations: 231.3 kB / 464.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.4225, allocations: 25.7 kB / 464.5 MB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4226, allocations: 151.7 kB / 464.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.4227, allocations: 53.58 kB / 464.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4227, allocations: 0 / 464.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4228, allocations: 341.5 kB / 465 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.423, allocations: 81.09 kB / 465.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4232, allocations: 159.8 kB / 465.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.4234, allocations: 114.9 kB / 465.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4234, allocations: 0 / 465.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004109/0.4238, allocations: 271.1 kB / 465.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4239, allocations: 4 kB / 465.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.4239, allocations: 4 kB / 465.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4239, allocations: 7.984 kB / 465.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.4242, allocations: 54.97 kB / 465.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4242, allocations: 4 kB / 465.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4243, allocations: 19.73 kB / 465.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.4243, allocations: 11.98 kB / 465.7 MB, free: 10.89 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.0001014/0.4245, allocations: 111.2 kB / 465.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002111/0.4247, allocations: 151.8 kB / 466 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.4247, allocations: 23.72 kB / 466 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.4248, allocations: 27.47 kB / 466 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4248, allocations: 3.953 kB / 466 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4248, allocations: 4 kB / 466 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.4248, allocations: 4 kB / 466 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.4251, allocations: 235.2 kB / 466.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4251, allocations: 3.938 kB / 466.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4252, allocations: 27.92 kB / 466.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4253, allocations: 4 kB / 466.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4253, allocations: 0 / 466.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4253, allocations: 0 / 466.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4253, allocations: 4 kB / 466.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.4257, allocations: 307.3 kB / 466.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.4257, allocations: 100.8 kB / 466.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.4258, allocations: 11.92 kB / 466.7 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4259, allocations: 4 kB / 466.7 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4259, allocations: 15.55 kB / 466.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.426, allocations: 3.953 kB / 466.7 MB, free: 9.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.4261, allocations: 181.1 kB / 466.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4261, allocations: 0 / 466.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.4265, allocations: 91.84 kB / 467 MB, free: 9.66 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.0006894/0.4272, allocations: 0.8902 MB / 467.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4275, allocations: 267.7 kB / 468.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4275, allocations: 0 / 468.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.4276, allocations: 57.17 kB / 468.2 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.428, allocations: 74.84 kB / 468.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.429, allocations: 0.5118 MB / 468.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4293, allocations: 0.7785 MB / 469.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.4295, allocations: 42.03 kB / 469.6 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.4296, allocations: 83.97 kB / 469.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4296, allocations: 4 kB / 469.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.4547, allocations: 5.606 MB / 475.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/0.4549, allocations: 138 kB / 475.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.417, allocations: 0 / 475.4 MB, free: 1.262 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat