Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_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.001008/0.001008, allocations: 97.14 kB / 16.3 MB, free: 5.996 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.000947/0.0009472, allocations: 184.7 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.000407, allocations: 5.312 kB / 300.8 MB, free: 5.969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 50.43 MB / 351.2 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001815/0.1241, allocations: 1.494 MB / 352.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.1295, allocations: 3.334 MB / 356.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.1297, allocations: 7.938 kB / 356.1 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.1302, allocations: 143.5 kB / 356.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.1303, allocations: 43.81 kB / 356.2 MB, free: 6.637 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.1338, allocations: 1.291 MB / 357.5 MB, free: 5.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1342, allocations: 215.5 kB / 357.7 MB, free: 5.141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1343, allocations: 24.75 kB / 357.8 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1344, allocations: 95.61 kB / 357.9 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.1346, allocations: 87.5 kB / 357.9 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.1346, allocations: 11.94 kB / 358 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1348, allocations: 111.8 kB / 358.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.1349, allocations: 59.77 kB / 358.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.135, allocations: 53.58 kB / 358.2 MB, free: 4.695 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1353, allocations: 239.5 kB / 358.4 MB, free: 4.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1353, allocations: 4 kB / 358.4 MB, free: 4.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1353, allocations: 0 / 358.4 MB, free: 4.457 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1353, allocations: 0 / 358.4 MB, free: 4.457 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.0008065/0.1361, allocations: 0.5373 MB / 359 MB, free: 3.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1362, allocations: 12.56 kB / 359 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.781e-05/0.1362, allocations: 46.55 kB / 359 MB, free: 3.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.1363, allocations: 39.58 kB / 359 MB, free: 3.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1366, allocations: 271.1 kB / 359.3 MB, free: 3.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1367, allocations: 8.188 kB / 359.3 MB, free: 3.453 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.1367, allocations: 23.91 kB / 359.3 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.137, allocations: 201.3 kB / 359.5 MB, free: 3.199 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.137, allocations: 8 kB / 359.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1371, allocations: 0 / 359.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.1371, allocations: 7.953 kB / 359.6 MB, free: 3.184 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1373, allocations: 92.44 kB / 359.6 MB, free: 3.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008721/0.1382, allocations: 496.2 kB / 360.1 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.1385, allocations: 166.5 kB / 360.3 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1385, allocations: 4 kB / 360.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1385, allocations: 38.56 kB / 360.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1385, allocations: 0 / 360.3 MB, free: 2.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000493/0.139, allocations: 229.2 kB / 360.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.1392, allocations: 282.7 kB / 360.8 MB, free: 1.766 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1395, allocations: 288.4 kB / 361.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.1395, allocations: 29.7 kB / 361.1 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1397, allocations: 156.6 kB / 361.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1397, allocations: 51.2 kB / 361.3 MB, free: 1.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.1397, allocations: 4 kB / 361.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1399, allocations: 338.8 kB / 361.7 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1401, allocations: 99.94 kB / 361.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1403, allocations: 188.4 kB / 362 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1405, allocations: 119.9 kB / 362.1 MB, free: 464 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1405, allocations: 0 / 362.1 MB, free: 464 kB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004432/0.141, allocations: 301.3 kB / 362.4 MB, free: 156 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.141, allocations: 10.28 kB / 362.4 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.141, allocations: 4 kB / 362.4 MB, free: 144 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1411, allocations: 7.938 kB / 362.4 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.1413, allocations: 52.06 kB / 362.4 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1413, allocations: 7.938 kB / 362.5 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1415, allocations: 23.75 kB / 362.5 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1415, allocations: 4 kB / 362.5 MB, free: 48 kB / 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.0001793/0.1417, allocations: 164.7 kB / 362.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1417, allocations: 31.66 kB / 362.7 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.1418, allocations: 25.98 kB / 362.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1418, allocations: 3.984 kB / 362.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1418, allocations: 0 / 362.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1418, allocations: 0 / 362.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1421, allocations: 269.4 kB / 363 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1421, allocations: 0 / 363 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.1423, allocations: 23.98 kB / 363 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1423, allocations: 7.953 kB / 363 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.1423, allocations: 11.98 kB / 363 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1423, allocations: 4 kB / 363 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.1424, allocations: 0 / 363 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1428, allocations: 331 kB / 363.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.1429, allocations: 100.8 kB / 363.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.1429, allocations: 16.05 kB / 363.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.143, allocations: 4.125 kB / 363.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.1431, allocations: 7.984 kB / 363.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1431, allocations: 12 kB / 363.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1433, allocations: 195.1 kB / 363.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1433, allocations: 0 / 363.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1436, allocations: 83.84 kB / 363.7 MB, free: 14.69 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.0008432/0.1445, allocations: 0.9115 MB / 364.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.1449, allocations: 285 kB / 364.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1449, allocations: 4 kB / 364.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.1451, allocations: 71.27 kB / 365 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.1455, allocations: 58.67 kB / 365.1 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.1471, allocations: 0.9023 MB / 366 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.1475, allocations: 0.7794 MB / 366.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1476, allocations: 41.91 kB / 366.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.1478, allocations: 87.34 kB / 366.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1478, allocations: 4 kB / 366.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.1646, allocations: 5.978 MB / 372.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.1648, allocations: 186 kB / 373 MB, free: 5.344 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.019, allocations: 0 / 373 MB, free: 5.344 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat