Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 120 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.5 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1101, allocations: 53.32 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003162/0.1132, allocations: 1.855 MB / 428.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.1192, allocations: 3.565 MB / 432.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1193, allocations: 15.81 kB / 432.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.1197, allocations: 131.3 kB / 432.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1198, allocations: 39.66 kB / 432.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.124, allocations: 1.781 MB / 434.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.1245, allocations: 299.2 kB / 434.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1246, allocations: 24.73 kB / 434.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1248, allocations: 123.5 kB / 434.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.125, allocations: 107.4 kB / 434.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.125, allocations: 12 kB / 434.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1253, allocations: 151.7 kB / 435.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1254, allocations: 71.75 kB / 435.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1255, allocations: 107.3 kB / 435.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.1259, allocations: 342.5 kB / 435.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1259, allocations: 0 / 435.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.1259, allocations: 4 kB / 435.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1259, allocations: 0 / 435.6 MB, free: 12.19 MB / 366.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.0008998/0.1268, allocations: 0.5799 MB / 436.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1269, allocations: 12.03 kB / 436.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.279e-05/0.1269, allocations: 50.73 kB / 436.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.127, allocations: 28.75 kB / 436.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.1274, allocations: 284.4 kB / 436.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.1275, allocations: 12.31 kB / 436.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1275, allocations: 23.89 kB / 436.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.1279, allocations: 202.1 kB / 436.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1279, allocations: 0 / 436.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.1279, allocations: 8 kB / 436.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.902e-06/0.1279, allocations: 4 kB / 436.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1281, allocations: 87.88 kB / 436.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000808/0.1289, allocations: 0.4888 MB / 437.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.1292, allocations: 158.4 kB / 437.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1293, allocations: 56.83 kB / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.1293, allocations: 0 / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1294, allocations: 50.58 kB / 437.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 8.51e-07/0.1294, allocations: 0 / 437.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000475/0.1298, allocations: 217.2 kB / 437.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.13, allocations: 282.7 kB / 438.1 MB, free: 9.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.1303, allocations: 288.5 kB / 438.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1304, allocations: 29.7 kB / 438.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1305, allocations: 156.5 kB / 438.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.1306, allocations: 63.5 kB / 438.6 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.1306, allocations: 57.7 kB / 438.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1308, allocations: 338.8 kB / 439 MB, free: 8.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.131, allocations: 103.9 kB / 439.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1313, allocations: 176.5 kB / 439.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/0.1316, allocations: 213.5 kB / 439.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1316, allocations: 0 / 439.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005017/0.1321, allocations: 309.3 kB / 439.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1321, allocations: 8 kB / 439.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.1322, allocations: 7.984 kB / 439.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1322, allocations: 0 / 439.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.1324, allocations: 43.97 kB / 439.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1325, allocations: 15.92 kB / 439.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1326, allocations: 23.84 kB / 439.9 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.1326, allocations: 7.984 kB / 439.9 MB, free: 7.531 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.1327, allocations: 149.8 kB / 440.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.955e-05/0.1328, allocations: 23.86 kB / 440.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.1328, allocations: 25.97 kB / 440.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1329, allocations: 7.984 kB / 440.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1329, allocations: 3.938 kB / 440.1 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1329, allocations: 4 kB / 440.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.1332, allocations: 273.4 kB / 440.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1332, allocations: 0 / 440.4 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1334, allocations: 28.02 kB / 440.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1334, allocations: 4.047 kB / 440.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.1334, allocations: 11.94 kB / 440.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1334, allocations: 0 / 440.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1334, allocations: 3.938 kB / 440.4 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.1339, allocations: 337.2 kB / 440.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.134, allocations: 100.9 kB / 440.9 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.134, allocations: 8.062 kB / 440.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1342, allocations: 4 kB / 440.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1342, allocations: 15.92 kB / 440.9 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1342, allocations: 4 kB / 440.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.1344, allocations: 195.1 kB / 441.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1344, allocations: 0 / 441.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1348, allocations: 87.8 kB / 441.2 MB, free: 6.176 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009324/0.1357, allocations: 0.8996 MB / 442.1 MB, free: 5.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.1362, allocations: 276.9 kB / 442.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1362, allocations: 4 kB / 442.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1363, allocations: 63.91 kB / 442.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1368, allocations: 84.59 kB / 442.5 MB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.1404, allocations: 2.78 MB / 445.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.141, allocations: 0.7714 MB / 446 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.1411, allocations: 45.91 kB / 446.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.1412, allocations: 79.41 kB / 446.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1412, allocations: 0 / 446.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2373/0.3786, allocations: 6.564 MB / 452.7 MB, free: 24.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.521, allocations: 12.73 kB / 452.7 MB, free: 24.14 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.01202024705708] Failed to read output from testmodel.py, exit status != 0: ['time', 'filter_fac3.x[1]', 'filter_fac3.x[2]', 'filter_fac4.x[1]', 'filter_fac4.x[2]', 'filter_fac5.x[1]', 'filter_fac5.x[2]'] 8.594555258285254 8.615185473 8.485020683 Calling exit ...