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.001369/0.00137, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008179/0.0008179, allocations: 94.69 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.292e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07548/0.07552, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3656, allocations: 89.2 MB / 459.3 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.3659, allocations: 68.47 kB / 459.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.3924, allocations: 9.902 MB / 469.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3925, allocations: 0 / 469.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.3925, allocations: 19.88 kB / 469.3 MB, free: 11.62 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.0007126/0.3932, allocations: 0.5181 MB / 469.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3933, allocations: 8.031 kB / 469.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.3933, allocations: 42.55 kB / 469.9 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.3934, allocations: 39.56 kB / 469.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.394, allocations: 351.7 kB / 470.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.394, allocations: 8.188 kB / 470.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.3941, allocations: 23.98 kB / 470.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.3944, allocations: 218.3 kB / 470.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3944, allocations: 4 kB / 470.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3944, allocations: 4 kB / 470.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.3944, allocations: 4 kB / 470.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3946, allocations: 76.47 kB / 470.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.3954, allocations: 0.4895 MB / 471.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.3957, allocations: 163.1 kB / 471.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.3958, allocations: 56.94 kB / 471.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3958, allocations: 3.938 kB / 471.3 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.3958, allocations: 38.56 kB / 471.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3958, allocations: 0 / 471.3 MB, free: 9.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003056/0.3962, allocations: 158.4 kB / 471.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.3963, allocations: 294.7 kB / 471.8 MB, free: 8.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.3966, allocations: 246.7 kB / 472 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.3966, allocations: 29.7 kB / 472 MB, free: 8.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3967, allocations: 152.5 kB / 472.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.3968, allocations: 47.27 kB / 472.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3968, allocations: 0 / 472.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3969, allocations: 342.8 kB / 472.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3971, allocations: 95.97 kB / 472.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3973, allocations: 160.5 kB / 472.8 MB, free: 7.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3975, allocations: 118.5 kB / 472.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3975, allocations: 4 kB / 472.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004242/0.3979, allocations: 289.1 kB / 473.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3979, allocations: 4 kB / 473.2 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.398, allocations: 7.984 kB / 473.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.398, allocations: 3.953 kB / 473.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3983, allocations: 51.91 kB / 473.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3983, allocations: 0 / 473.3 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.3984, allocations: 27.77 kB / 473.3 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3984, allocations: 12 kB / 473.3 MB, free: 7.246 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 9.603e-05/0.3985, allocations: 116.9 kB / 473.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.3986, allocations: 31.62 kB / 473.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3987, allocations: 26.09 kB / 473.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3987, allocations: 0 / 473.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3987, allocations: 8.047 kB / 473.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3987, allocations: 7.922 kB / 473.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.399, allocations: 261.5 kB / 473.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.399, allocations: 0 / 473.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3992, allocations: 27.98 kB / 473.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3992, allocations: 4 kB / 473.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3993, allocations: 7.984 kB / 473.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3993, allocations: 0 / 473.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3993, allocations: 0 / 473.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.3997, allocations: 331.3 kB / 474.1 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.3998, allocations: 108.7 kB / 474.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.3998, allocations: 4 kB / 474.2 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4, allocations: 20.17 kB / 474.3 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4, allocations: 15.94 kB / 474.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.4, allocations: 0 / 474.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001682/0.4002, allocations: 194.2 kB / 474.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4002, allocations: 0 / 474.5 MB, free: 6.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.4006, allocations: 91.92 kB / 474.5 MB, free: 5.922 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.0007936/0.4014, allocations: 0.908 MB / 475.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.4018, allocations: 258.4 kB / 475.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4018, allocations: 4 kB / 475.7 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4019, allocations: 63.91 kB / 475.8 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.4023, allocations: 62.44 kB / 475.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.4034, allocations: 0.5408 MB / 476.4 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4037, allocations: 0.7716 MB / 477.1 MB, free: 3.211 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.4039, allocations: 46.03 kB / 477.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.404, allocations: 83.41 kB / 477.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of SimCode: time 1.643e-06/0.404, allocations: 0 / 477.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.4237, allocations: 6.066 MB / 483.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.424, allocations: 164.8 kB / 483.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.316, allocations: 0 / 483.5 MB, free: 12.77 MB / 362.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