Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002326/0.00233, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001116, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005284/0.0005284, allocations: 12 kB / 327 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1092, allocations: 47.58 MB / 374.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002713/0.1119, allocations: 1.492 MB / 376.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00841/0.1204, allocations: 3.375 MB / 379.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.1207, allocations: 3.938 kB / 379.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.1214, allocations: 151.5 kB / 379.6 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1216, allocations: 31.88 kB / 379.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005832/0.1274, allocations: 1.303 MB / 381 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.128, allocations: 207.6 kB / 381.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1282, allocations: 32.67 kB / 381.2 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1284, allocations: 95.56 kB / 381.3 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.1286, allocations: 91.48 kB / 381.4 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.1287, allocations: 4 kB / 381.4 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004204/0.1291, allocations: 103.8 kB / 381.5 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1293, allocations: 63.8 kB / 381.6 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.1294, allocations: 65.58 kB / 381.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.1298, allocations: 239.5 kB / 381.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1298, allocations: 0 / 381.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1298, allocations: 0 / 381.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1299, allocations: 0 / 381.9 MB, free: 8.078 MB / 282.7 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.001144/0.131, allocations: 0.5412 MB / 382.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1311, allocations: 12.02 kB / 382.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/0.1312, allocations: 42.56 kB / 382.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.1313, allocations: 31.62 kB / 382.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.1318, allocations: 271.1 kB / 382.8 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.1318, allocations: 16.14 kB / 382.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.576e-05/0.1319, allocations: 15.91 kB / 382.8 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.1324, allocations: 203.8 kB / 383 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1324, allocations: 3.938 kB / 383 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.1324, allocations: 4 kB / 383 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.1325, allocations: 4 kB / 383 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.1328, allocations: 88.5 kB / 383.1 MB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.1341, allocations: 0.4969 MB / 383.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.1347, allocations: 166.6 kB / 383.7 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1347, allocations: 3.938 kB / 383.7 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.1347, allocations: 42.55 kB / 383.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.775e-06/0.1348, allocations: 3.938 kB / 383.8 MB, free: 5.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007745/0.1355, allocations: 221.6 kB / 384 MB, free: 5.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/0.1357, allocations: 290.7 kB / 384.3 MB, free: 5.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000431/0.1362, allocations: 280.5 kB / 384.6 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.1362, allocations: 29.7 kB / 384.6 MB, free: 5.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1364, allocations: 203 kB / 384.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.651e-05/0.1365, allocations: 55.25 kB / 384.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.1365, allocations: 3.938 kB / 384.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1367, allocations: 326.8 kB / 385.2 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.137, allocations: 103.9 kB / 385.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.1375, allocations: 173.4 kB / 385.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003617/0.1378, allocations: 127.9 kB / 385.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1379, allocations: 0 / 385.6 MB, free: 4.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000803/0.1387, allocations: 281.7 kB / 385.8 MB, free: 3.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.1387, allocations: 8 kB / 385.8 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.1388, allocations: 3.984 kB / 385.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.1388, allocations: 4 kB / 385.9 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.1393, allocations: 55.91 kB / 385.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1393, allocations: 4 kB / 385.9 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1396, allocations: 39.61 kB / 385.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.1396, allocations: 4 kB / 386 MB, free: 3.641 MB / 282.7 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.000234/0.1399, allocations: 145.8 kB / 386.1 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.14, allocations: 23.83 kB / 386.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.431e-05/0.1401, allocations: 37.91 kB / 386.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1401, allocations: 4 kB / 386.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1401, allocations: 0 / 386.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1401, allocations: 0 / 386.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.1406, allocations: 273.4 kB / 386.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1406, allocations: 0 / 386.4 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.141, allocations: 27.92 kB / 386.5 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.141, allocations: 4 kB / 386.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.141, allocations: 4 kB / 386.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.141, allocations: 4 kB / 386.5 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.1411, allocations: 3.984 kB / 386.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.1419, allocations: 347.4 kB / 386.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.142, allocations: 100.8 kB / 386.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.1421, allocations: 8.062 kB / 386.9 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1424, allocations: 7.984 kB / 386.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.1424, allocations: 7.984 kB / 386.9 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1425, allocations: 12 kB / 386.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.1428, allocations: 191.2 kB / 387.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1428, allocations: 3.938 kB / 387.1 MB, free: 2.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005698/0.1434, allocations: 71.98 kB / 387.2 MB, free: 2.297 MB / 282.7 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.001446/0.1448, allocations: 0.9268 MB / 388.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008171/0.1457, allocations: 277.6 kB / 388.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.1457, allocations: 4 kB / 388.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.146, allocations: 67.91 kB / 388.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.1466, allocations: 78.44 kB / 388.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.256/0.4026, allocations: 0.9222 MB / 389.5 MB, free: 21.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4031, allocations: 0.7734 MB / 390.2 MB, free: 20.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.4033, allocations: 84.95 kB / 390.3 MB, free: 20.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.974e-06/0.4033, allocations: 0 / 390.3 MB, free: 20.32 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.152, allocations: 4.875 MB / 395.2 MB, free: 19.98 MB / 282.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat does not exist to compare? outputFormat=mat