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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009626, allocations: 98.34 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 182.2 kB / 17.82 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004378/0.0004379, allocations: 8 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07564/0.07609, allocations: 47.57 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001632/0.07776, allocations: 1.501 MB / 329.9 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004481/0.08226, allocations: 3.375 MB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.08238, allocations: 3.938 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.08275, allocations: 147.5 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.08285, allocations: 35.81 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.08553, allocations: 1.301 MB / 334.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.08582, allocations: 211.5 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.08592, allocations: 28.73 kB / 335 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.08605, allocations: 91.62 kB / 335.1 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.08616, allocations: 91.48 kB / 335.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.08619, allocations: 4 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.08639, allocations: 111.8 kB / 335.3 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.08649, allocations: 59.81 kB / 335.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.08654, allocations: 65.52 kB / 335.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.08679, allocations: 239.5 kB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.0868, allocations: 0 / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.0868, allocations: 0 / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.08681, allocations: 0 / 335.6 MB, free: 12.74 MB / 286.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.0006583/0.08747, allocations: 0.5373 MB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.08751, allocations: 12.02 kB / 336.2 MB, free: 12.14 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.08756, allocations: 42.55 kB / 336.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.08762, allocations: 35.62 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.08792, allocations: 271.1 kB / 336.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.08795, allocations: 16.14 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.08799, allocations: 15.91 kB / 336.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.08828, allocations: 203.8 kB / 336.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.0883, allocations: 3.938 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.08832, allocations: 4 kB / 336.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.08833, allocations: 8 kB / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.08852, allocations: 88.44 kB / 336.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007242/0.08925, allocations: 496.8 kB / 337.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.08953, allocations: 178.4 kB / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.08955, allocations: 0 / 337.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.08958, allocations: 42.56 kB / 337.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.384e-06/0.08959, allocations: 3.984 kB / 337.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004276/0.09002, allocations: 225.9 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.09015, allocations: 294.7 kB / 338.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.09039, allocations: 280.5 kB / 338.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.09042, allocations: 25.7 kB / 338.4 MB, free: 9.711 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.09053, allocations: 156.5 kB / 338.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/0.09057, allocations: 47.25 kB / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.09059, allocations: 8 kB / 338.6 MB, free: 9.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.09071, allocations: 338.8 kB / 338.9 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.09088, allocations: 99.94 kB / 339 MB, free: 9.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.0911, allocations: 176.5 kB / 339.2 MB, free: 8.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.0913, allocations: 131.9 kB / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09131, allocations: 0 / 339.3 MB, free: 8.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004299/0.09174, allocations: 297.5 kB / 339.6 MB, free: 8.434 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.09177, allocations: 8 kB / 339.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.09179, allocations: 4 kB / 339.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.09181, allocations: 4 kB / 339.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.09207, allocations: 55.89 kB / 339.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.09208, allocations: 0 / 339.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.09219, allocations: 31.64 kB / 339.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.09222, allocations: 8 kB / 339.7 MB, free: 8.324 MB / 286.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.0001251/0.09235, allocations: 153.7 kB / 339.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.0924, allocations: 27.73 kB / 339.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.09246, allocations: 33.92 kB / 339.9 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.09247, allocations: 3.984 kB / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.09247, allocations: 0 / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.09248, allocations: 0 / 339.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.09275, allocations: 269.5 kB / 340.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.09276, allocations: 0 / 340.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.09294, allocations: 27.98 kB / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.09295, allocations: 0 / 340.2 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.09297, allocations: 7.984 kB / 340.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.09297, allocations: 0 / 340.2 MB, free: 7.75 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.09298, allocations: 4 kB / 340.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.09341, allocations: 351.1 kB / 340.6 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.09348, allocations: 100.8 kB / 340.7 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.09352, allocations: 12.05 kB / 340.7 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.09365, allocations: 12 kB / 340.7 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.09369, allocations: 11.98 kB / 340.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.09371, allocations: 0 / 340.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.09389, allocations: 199.1 kB / 340.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.0939, allocations: 0 / 340.9 MB, free: 7.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.09423, allocations: 71.91 kB / 341 MB, free: 6.973 MB / 286.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.0007513/0.09498, allocations: 0.9151 MB / 341.9 MB, free: 6.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003788/0.09537, allocations: 289 kB / 342.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.09539, allocations: 0 / 342.2 MB, free: 5.727 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.09552, allocations: 67.89 kB / 342.2 MB, free: 5.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.09588, allocations: 68.64 kB / 342.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.09705, allocations: 0.8907 MB / 343.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.09736, allocations: 0.7755 MB / 344 MB, free: 3.855 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.09748, allocations: 41.91 kB / 344 MB, free: 3.816 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.09759, allocations: 83.41 kB / 344.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.0976, allocations: 0 / 344.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.1124, allocations: 6.006 MB / 350.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.1126, allocations: 171.2 kB / 350.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.814, allocations: 3.938 kB / 350.3 MB, free: 13.48 MB / 302.1 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) Environment - environmentSimulation: 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