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.0008197/0.0008195, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008363/0.0008363, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002272, allocations: 8 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002117/0.1136, allocations: 1.5 MB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.1195, allocations: 3.401 MB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1197, allocations: 11.88 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.1201, allocations: 107.5 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.1203, allocations: 35.72 kB / 363.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003974/0.1243, allocations: 1.361 MB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.1247, allocations: 267.2 kB / 365 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1248, allocations: 36.67 kB / 365 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1251, allocations: 107.5 kB / 365.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1253, allocations: 87.5 kB / 365.2 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1253, allocations: 8 kB / 365.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.1256, allocations: 123.7 kB / 365.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.1257, allocations: 63.81 kB / 365.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.1258, allocations: 65.52 kB / 365.4 MB, free: 6.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.1262, allocations: 231.6 kB / 365.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1262, allocations: 0 / 365.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1262, allocations: 0 / 365.7 MB, free: 6.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1262, allocations: 4 kB / 365.7 MB, free: 6.586 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.0008592/0.1271, allocations: 0.5411 MB / 366.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1271, allocations: 8.031 kB / 366.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.254e-05/0.1272, allocations: 38.56 kB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.1272, allocations: 31.62 kB / 366.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.1276, allocations: 287 kB / 366.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1276, allocations: 12.19 kB / 366.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1276, allocations: 15.95 kB / 366.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.128, allocations: 206.1 kB / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.128, allocations: 0 / 366.8 MB, free: 5.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.128, allocations: 11.98 kB / 366.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.128, allocations: 0 / 366.8 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.1282, allocations: 84.5 kB / 366.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/0.1292, allocations: 0.4969 MB / 367.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.1295, allocations: 166.4 kB / 367.6 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1296, allocations: 68.44 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1297, allocations: 4 kB / 367.6 MB, free: 4.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1297, allocations: 34.56 kB / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1297, allocations: 0 / 367.7 MB, free: 4.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004516/0.1302, allocations: 213.3 kB / 367.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.1303, allocations: 298.8 kB / 368.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1307, allocations: 284.4 kB / 368.4 MB, free: 3.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1307, allocations: 29.7 kB / 368.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1308, allocations: 160.6 kB / 368.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.1309, allocations: 51.2 kB / 368.7 MB, free: 3.297 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.1309, allocations: 4 kB / 368.7 MB, free: 3.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.131, allocations: 338.8 kB / 369 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.1312, allocations: 99.94 kB / 369.1 MB, free: 2.855 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1315, allocations: 182.1 kB / 369.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.1317, allocations: 127.9 kB / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1317, allocations: 0 / 369.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004809/0.1322, allocations: 301.2 kB / 369.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1322, allocations: 8 kB / 369.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.1322, allocations: 3.984 kB / 369.7 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1322, allocations: 4 kB / 369.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1325, allocations: 47.91 kB / 369.8 MB, free: 2.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.1325, allocations: 4 kB / 369.8 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.1326, allocations: 35.72 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1326, allocations: 4.094 kB / 369.8 MB, free: 2.117 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.0001752/0.1328, allocations: 153.7 kB / 370 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1329, allocations: 27.62 kB / 370 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.1329, allocations: 29.97 kB / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1329, allocations: 0 / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.133, allocations: 0 / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.133, allocations: 0 / 370 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/0.1332, allocations: 273.5 kB / 370.3 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1332, allocations: 0 / 370.3 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.1334, allocations: 27.98 kB / 370.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1334, allocations: 0 / 370.3 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.1335, allocations: 4 kB / 370.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1335, allocations: 4 kB / 370.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1335, allocations: 0 / 370.3 MB, free: 1.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.134, allocations: 343 kB / 370.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.134, allocations: 104.8 kB / 370.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.1341, allocations: 8.062 kB / 370.8 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1342, allocations: 15.98 kB / 370.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1343, allocations: 4 kB / 370.8 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1343, allocations: 3.984 kB / 370.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.1345, allocations: 191.1 kB / 371 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1345, allocations: 4 kB / 371 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003838/0.1349, allocations: 83.83 kB / 371.1 MB, free: 0.7695 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.1925/0.3273, allocations: 0.9079 MB / 372 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005445/0.3279, allocations: 279.6 kB / 372.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3279, allocations: 1.344 kB / 372.2 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3281, allocations: 71.14 kB / 372.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.3287, allocations: 68.86 kB / 372.4 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.3315, allocations: 1.701 MB / 374.1 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3318, allocations: 0.7727 MB / 374.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000157/0.3319, allocations: 44.34 kB / 374.9 MB, free: 18.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3321, allocations: 83.03 kB / 375 MB, free: 18.54 MB / 302.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3321, allocations: 0 / 375 MB, free: 18.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.3514, allocations: 6.189 MB / 381.2 MB, free: 17.71 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/0.3516, allocations: 176.6 kB / 381.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.304, allocations: 0 / 381.3 MB, free: 17.47 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