Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001192, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009124/0.0009124, allocations: 94.27 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.644e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4862, allocations: 90.12 MB / 485.4 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4864, allocations: 74.2 kB / 485.4 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02669/0.5131, allocations: 9.977 MB / 495.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5132, allocations: 0 / 495.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.267e-05/0.5132, allocations: 15.94 kB / 495.4 MB, free: 10.7 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.0007419/0.514, allocations: 0.5178 MB / 496 MB, free: 10.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.514, allocations: 12.03 kB / 496 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.141e-05/0.5141, allocations: 32.94 kB / 496 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000529/0.5146, allocations: 351.8 kB / 496.3 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.5147, allocations: 0 / 496.3 MB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.5147, allocations: 12 kB / 496.4 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.5149, allocations: 72.09 kB / 496.4 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.5151, allocations: 205.2 kB / 496.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5152, allocations: 0 / 496.6 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.5152, allocations: 3.938 kB / 496.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.5152, allocations: 8 kB / 496.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.516, allocations: 456.6 kB / 497.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.5163, allocations: 157.6 kB / 497.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/0.5163, allocations: 46.91 kB / 497.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.5164, allocations: 4 kB / 497.3 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.5164, allocations: 37.16 kB / 497.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.5164, allocations: 4 kB / 497.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000295/0.5167, allocations: 153.3 kB / 497.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.5169, allocations: 286.7 kB / 497.8 MB, free: 8.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.5171, allocations: 244.3 kB / 498 MB, free: 8.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.5172, allocations: 29.64 kB / 498 MB, free: 8.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.5173, allocations: 148.1 kB / 498.2 MB, free: 8.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.5173, allocations: 54.09 kB / 498.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.5173, allocations: 0 / 498.2 MB, free: 7.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5175, allocations: 340.4 kB / 498.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.5176, allocations: 80.97 kB / 498.6 MB, free: 7.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5178, allocations: 156.8 kB / 498.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.518, allocations: 120.6 kB / 498.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.518, allocations: 0 / 498.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004283/0.5185, allocations: 269.5 kB / 499.2 MB, free: 7.121 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5185, allocations: 8 kB / 499.2 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.5185, allocations: 7.984 kB / 499.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.5185, allocations: 4 kB / 499.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.5188, allocations: 47.91 kB / 499.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5188, allocations: 4 kB / 499.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.519, allocations: 23.45 kB / 499.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.519, allocations: 15.8 kB / 499.3 MB, free: 7.02 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 () * 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.166e-05/0.5191, allocations: 105 kB / 499.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002195/0.5193, allocations: 155 kB / 499.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.5194, allocations: 27.66 kB / 499.6 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.5194, allocations: 28.09 kB / 499.6 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5194, allocations: 7.938 kB / 499.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5195, allocations: 1.781 kB / 499.6 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5195, allocations: 3.984 kB / 499.6 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.5197, allocations: 237.2 kB / 499.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5198, allocations: 0 / 499.8 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.5199, allocations: 23.98 kB / 499.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.5199, allocations: 4 kB / 499.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.52, allocations: 4 kB / 499.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.52, allocations: 0 / 499.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.52, allocations: 0 / 499.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.5203, allocations: 313 kB / 0.4884 GB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.5204, allocations: 100.8 kB / 0.4885 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.5205, allocations: 4 kB / 0.4885 GB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.5206, allocations: 4 kB / 0.4886 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.5206, allocations: 11.98 kB / 0.4886 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.5207, allocations: 3.953 kB / 0.4886 GB, free: 6.039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.5208, allocations: 186 kB / 0.4887 GB, free: 5.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5208, allocations: 0 / 0.4887 GB, free: 5.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.5212, allocations: 87 kB / 0.4888 GB, free: 5.801 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 () * 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.0007456/0.522, allocations: 0.8903 MB / 0.4897 GB, free: 4.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.5223, allocations: 260.6 kB / 0.4899 GB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5223, allocations: 0 / 0.4899 GB, free: 4.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.928e-05/0.5224, allocations: 55.8 kB / 0.49 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.5228, allocations: 69.09 kB / 0.4901 GB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.5239, allocations: 0.5274 MB / 0.4906 GB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.5243, allocations: 0.7737 MB / 0.4913 GB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.5244, allocations: 49.62 kB / 0.4914 GB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5245, allocations: 81.97 kB / 0.4915 GB, free: 3.227 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5245, allocations: 0 / 0.4915 GB, free: 3.227 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.553, allocations: 5.594 MB / 0.4969 GB, free: 13.74 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.5532, allocations: 137.8 kB / 0.4971 GB, free: 13.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.982/2.535, allocations: 2.75 kB / 0.4971 GB, free: 13.54 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat