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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009866/0.0009866, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009918/0.0009918, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002765, allocations: 8 kB / 306.7 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 51.49 MB / 358.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001818/0.123, allocations: 1.504 MB / 359.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005251/0.1282, allocations: 3.393 MB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1284, allocations: 7.875 kB / 363.1 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.1289, allocations: 147.5 kB / 363.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.129, allocations: 39.8 kB / 363.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.1325, allocations: 1.304 MB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1328, allocations: 203.6 kB / 364.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1329, allocations: 44.64 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1331, allocations: 95.62 kB / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1332, allocations: 91.48 kB / 365 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.1333, allocations: 4 kB / 365 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.1335, allocations: 107.8 kB / 365.1 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.1336, allocations: 59.81 kB / 365.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1337, allocations: 61.52 kB / 365.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1339, allocations: 239.5 kB / 365.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1339, allocations: 0 / 365.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1339, allocations: 0 / 365.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.134, allocations: 0 / 365.5 MB, free: 6.695 MB / 302.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.0007519/0.1347, allocations: 0.5412 MB / 366 MB, free: 6.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1348, allocations: 12.03 kB / 366 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.512e-05/0.1348, allocations: 42.55 kB / 366.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.1349, allocations: 31.62 kB / 366.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.1352, allocations: 279 kB / 366.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1353, allocations: 12.19 kB / 366.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.1353, allocations: 15.95 kB / 366.4 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1356, allocations: 207.8 kB / 366.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1356, allocations: 3.938 kB / 366.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1357, allocations: 4 kB / 366.6 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1357, allocations: 4 kB / 366.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.1359, allocations: 88.5 kB / 366.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008225/0.1367, allocations: 492.8 kB / 367.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.137, allocations: 174.4 kB / 367.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.137, allocations: 7.984 kB / 367.3 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1371, allocations: 30.56 kB / 367.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1371, allocations: 0 / 367.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004687/0.1375, allocations: 224.8 kB / 367.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/0.1377, allocations: 298.8 kB / 367.9 MB, free: 3.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.138, allocations: 280.4 kB / 368.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.138, allocations: 29.7 kB / 368.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1382, allocations: 156.5 kB / 368.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1382, allocations: 47.25 kB / 368.4 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.1382, allocations: 4 kB / 368.4 MB, free: 3.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1384, allocations: 338.8 kB / 368.7 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1385, allocations: 103.9 kB / 368.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1388, allocations: 178.1 kB / 369 MB, free: 2.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.139, allocations: 131.9 kB / 369.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.139, allocations: 0 / 369.1 MB, free: 2.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000456/0.1395, allocations: 301.2 kB / 369.4 MB, free: 2.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1395, allocations: 8 kB / 369.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.1395, allocations: 0 / 369.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1395, allocations: 4 kB / 369.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.1398, allocations: 47.91 kB / 369.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1398, allocations: 11.98 kB / 369.5 MB, free: 2.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1399, allocations: 23.78 kB / 369.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.14, allocations: 7.953 kB / 369.5 MB, free: 2.297 MB / 302.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 () * Number of clocked 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.0001483/0.1401, allocations: 149.8 kB / 369.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.1402, allocations: 31.72 kB / 369.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.1403, allocations: 29.92 kB / 369.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1403, allocations: 0 / 369.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1403, allocations: 0 / 369.7 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1403, allocations: 7.984 kB / 369.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.1406, allocations: 265.5 kB / 370 MB, free: 1.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1406, allocations: 4 kB / 370 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1408, allocations: 24.08 kB / 370 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1408, allocations: 3.938 kB / 370 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1408, allocations: 7.984 kB / 370 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1408, allocations: 4 kB / 370 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1409, allocations: 0 / 370 MB, free: 1.715 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.1413, allocations: 347.2 kB / 370.4 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.1414, allocations: 100.8 kB / 370.5 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1414, allocations: 8.062 kB / 370.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1416, allocations: 15.98 kB / 370.5 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1416, allocations: 7.984 kB / 370.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1416, allocations: 0 / 370.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1418, allocations: 199.1 kB / 370.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1418, allocations: 0 / 370.7 MB, free: 1.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.1421, allocations: 75.91 kB / 370.8 MB, free: 0.9453 MB / 302.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 () * Number of clocked 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.1921/0.3342, allocations: 0.9228 MB / 371.7 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.335, allocations: 272.6 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.335, allocations: 0.8125 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3352, allocations: 66.11 kB / 372 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.3357, allocations: 64.47 kB / 372.1 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3374, allocations: 0.8925 MB / 373 MB, free: 19.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3377, allocations: 0.7776 MB / 373.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001625/0.3378, allocations: 43.58 kB / 373.8 MB, free: 18.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.338, allocations: 86.78 kB / 373.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of SimCode: time 9.32e-07/0.338, allocations: 0 / 373.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3569, allocations: 6.003 MB / 379.9 MB, free: 18.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.3571, allocations: 176 kB / 380.1 MB, free: 18.08 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.222, allocations: 3.5 kB / 380.1 MB, free: 18.08 MB / 302.1 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