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.0009938/0.0009939, allocations: 95.94 kB / 16.95 MB, free: 6.059 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.001154/0.001154, allocations: 179.9 kB / 17.84 MB, free: 5.695 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.647/1.647, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004427/0.0004428, allocations: 15.44 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1185, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002906/0.1215, allocations: 1.488 MB / 329.9 MB, free: 2.488 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007893/0.1294, allocations: 3.413 MB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.1298, allocations: 3.938 kB / 333.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005494/0.1303, allocations: 103.5 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1306, allocations: 35.72 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005488/0.1361, allocations: 1.356 MB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.1367, allocations: 267.2 kB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1369, allocations: 28.73 kB / 335.1 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.1372, allocations: 95.56 kB / 335.2 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1374, allocations: 95.47 kB / 335.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.1375, allocations: 4 kB / 335.3 MB, free: 13.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1379, allocations: 123.8 kB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.138, allocations: 59.8 kB / 335.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1381, allocations: 65.52 kB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.1386, allocations: 235.5 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1386, allocations: 0 / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1386, allocations: 0 / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1387, allocations: 0 / 335.8 MB, free: 12.61 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.001065/0.1397, allocations: 0.5412 MB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.1398, allocations: 12.02 kB / 336.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.1399, allocations: 46.5 kB / 336.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.14, allocations: 27.62 kB / 336.4 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.1405, allocations: 271.1 kB / 336.7 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.1405, allocations: 12.14 kB / 336.7 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.907e-05/0.1406, allocations: 27.89 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.141, allocations: 195.8 kB / 336.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1411, allocations: 0 / 336.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.1411, allocations: 8 kB / 336.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1411, allocations: 8 kB / 336.9 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1414, allocations: 84.5 kB / 337 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1426, allocations: 0.4891 MB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.1431, allocations: 178.3 kB / 337.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1432, allocations: 64.83 kB / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1433, allocations: 0 / 337.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1433, allocations: 38.56 kB / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.1433, allocations: 0 / 337.8 MB, free: 10.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006502/0.144, allocations: 217.4 kB / 338 MB, free: 10.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000216/0.1442, allocations: 302.6 kB / 338.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.1447, allocations: 276.5 kB / 338.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.1448, allocations: 33.69 kB / 338.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.145, allocations: 156.5 kB / 338.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.1451, allocations: 47.27 kB / 338.8 MB, free: 9.312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1451, allocations: 8 kB / 338.8 MB, free: 9.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.1454, allocations: 334.8 kB / 339.1 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.1458, allocations: 99.94 kB / 339.2 MB, free: 8.871 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1461, allocations: 180.5 kB / 339.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1464, allocations: 127.9 kB / 339.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1464, allocations: 0 / 339.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006324/0.1471, allocations: 309.5 kB / 339.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1471, allocations: 4 kB / 339.8 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.1471, allocations: 7.984 kB / 339.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1472, allocations: 0 / 339.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.1475, allocations: 51.91 kB / 339.9 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1475, allocations: 3.953 kB / 339.9 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1477, allocations: 31.67 kB / 339.9 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.1477, allocations: 8 kB / 339.9 MB, free: 8.125 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.0001873/0.1479, allocations: 153.8 kB / 340.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.148, allocations: 27.72 kB / 340.1 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/0.1481, allocations: 33.91 kB / 340.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.1481, allocations: 0 / 340.1 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1481, allocations: 4 kB / 340.1 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1481, allocations: 3.953 kB / 340.1 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.1486, allocations: 265.5 kB / 340.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1486, allocations: 0 / 340.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1489, allocations: 24.09 kB / 340.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1489, allocations: 3.938 kB / 340.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1489, allocations: 15.98 kB / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1489, allocations: 0 / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1489, allocations: 0 / 340.4 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.1496, allocations: 355.4 kB / 340.8 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.1496, allocations: 92.83 kB / 340.9 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.915e-05/0.1497, allocations: 12.06 kB / 340.9 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.15, allocations: 11.98 kB / 340.9 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.1501, allocations: 11.98 kB / 340.9 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1501, allocations: 4 kB / 340.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.1503, allocations: 187.1 kB / 341.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1504, allocations: 0 / 341.1 MB, free: 6.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005386/0.1509, allocations: 87.84 kB / 341.2 MB, free: 6.766 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.001184/0.1521, allocations: 0.9073 MB / 342.1 MB, free: 5.828 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1526, allocations: 289 kB / 342.4 MB, free: 5.527 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1526, allocations: 4 kB / 342.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.1527, allocations: 63.91 kB / 342.4 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1532, allocations: 72.62 kB / 342.5 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.1559, allocations: 1.691 MB / 344.2 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.1565, allocations: 0.7677 MB / 345 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.1566, allocations: 45.91 kB / 345 MB, free: 2.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1568, allocations: 83.41 kB / 345.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1568, allocations: 0 / 345.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1767, allocations: 6.19 MB / 351.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/0.1769, allocations: 172 kB / 351.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.298, allocations: 0 / 351.5 MB, free: 12.3 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