Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.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.001805/0.001805, allocations: 123.6 kB / 18.45 MB, free: 4.633 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.002119/0.002119, allocations: 205.7 kB / 21.41 MB, free: 1.684 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.972/1.972, allocations: 227.7 MB / 251.9 MB, free: 15.88 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.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",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.001901/0.001901, allocations: 71.83 kB / 365.2 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09829, allocations: 50.54 MB / 415.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00358/0.1019, allocations: 2.003 MB / 417.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.1083, allocations: 3.729 MB / 421.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.1086, allocations: 11.88 kB / 421.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.1091, allocations: 183.1 kB / 421.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.1093, allocations: 43.56 kB / 421.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.1141, allocations: 1.936 MB / 423.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.1148, allocations: 0.4909 MB / 424.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1149, allocations: 53.05 kB / 424.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.1152, allocations: 175.4 kB / 424.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/0.1155, allocations: 171.1 kB / 424.6 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.1156, allocations: 24 kB / 424.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.1183, allocations: 1.803 MB / 426.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1185, allocations: 123.6 kB / 426.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.1187, allocations: 159 kB / 426.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.1208, allocations: 1.785 MB / 428.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1209, allocations: 3.984 kB / 428.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1209, allocations: 0 / 428.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1209, allocations: 0 / 428.4 MB, free: 0.9219 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00154/0.1224, allocations: 0.9176 MB / 429.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1225, allocations: 12.03 kB / 429.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.241e-05/0.1225, allocations: 50.73 kB / 429.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.1226, allocations: 52.61 kB / 429.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.1231, allocations: 354.6 kB / 429.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1231, allocations: 12.66 kB / 429.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1232, allocations: 28.7 kB / 429.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.1237, allocations: 307 kB / 430.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1237, allocations: 4 kB / 430.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1237, allocations: 7.938 kB / 430.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1237, allocations: 4 kB / 430.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/0.124, allocations: 148.7 kB / 430.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1252, allocations: 0.6757 MB / 431 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.1258, allocations: 318.4 kB / 431.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.126, allocations: 113.1 kB / 431.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1261, allocations: 0 / 431.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1261, allocations: 42.5 kB / 431.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.1261, allocations: 0 / 431.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007104/0.1268, allocations: 377.1 kB / 431.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/0.127, allocations: 371.8 kB / 432.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.1275, allocations: 413.8 kB / 432.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/0.1275, allocations: 33.7 kB / 432.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1277, allocations: 200.9 kB / 432.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.1278, allocations: 87.23 kB / 432.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1279, allocations: 97.67 kB / 433 MB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1281, allocations: 362.7 kB / 433.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.1285, allocations: 204.2 kB / 433.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.1289, allocations: 322.3 kB / 433.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006004/0.1295, allocations: 393.6 kB / 434.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1295, allocations: 0 / 434.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00112/0.1307, allocations: 0.654 MB / 434.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1307, allocations: 6.812 kB / 434.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.1307, allocations: 11.98 kB / 434.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.1312, allocations: 126.4 kB / 435.1 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1315, allocations: 63.91 kB / 435.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.1354, allocations: 4.554 MB / 439.7 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.1356, allocations: 55.58 kB / 439.7 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.1357, allocations: 8 kB / 439.7 MB, free: 4.801 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.1359, allocations: 181.8 kB / 439.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.136, allocations: 43.75 kB / 440 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.251e-05/0.1361, allocations: 43.75 kB / 440 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1361, allocations: 4 kB / 440 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1361, allocations: 0 / 440 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1361, allocations: 3.938 kB / 440 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.1365, allocations: 349.3 kB / 440.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1365, allocations: 0 / 440.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.1368, allocations: 31.98 kB / 440.4 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1368, allocations: 7.984 kB / 440.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.1368, allocations: 12 kB / 440.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1368, allocations: 0 / 440.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1369, allocations: 3.938 kB / 440.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/0.1376, allocations: 0.5028 MB / 440.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.1377, allocations: 112.8 kB / 441 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.1377, allocations: 15.98 kB / 441 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1379, allocations: 19.92 kB / 441 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.138, allocations: 19.92 kB / 441.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.138, allocations: 4 kB / 441.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002915/0.1383, allocations: 275.2 kB / 441.3 MB, free: 3.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 3.938 kB / 441.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001815/0.1401, allocations: 0.6597 MB / 442 MB, free: 2.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.003809/0.1439, allocations: 1.615 MB / 443.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1899/0.3339, allocations: 0.9565 MB / 444.6 MB, free: 28.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.334, allocations: 1.156 kB / 444.6 MB, free: 28.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.3343, allocations: 121.5 kB / 444.7 MB, free: 28.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.3351, allocations: 108.6 kB / 444.8 MB, free: 28.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.3408, allocations: 4.509 MB / 449.3 MB, free: 27.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3411, allocations: 0.839 MB / 450.1 MB, free: 26.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.3414, allocations: 71.06 kB / 450.2 MB, free: 26.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3415, allocations: 132.7 kB / 450.3 MB, free: 26.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.3416, allocations: 0 / 450.3 MB, free: 26.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.3935, allocations: 17.24 MB / 467.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.98, allocations: 11.02 kB / 467.6 MB, free: 20.9 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000179856 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.03500311798416] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]', 'Butterworth.x[1]', 'Butterworth.x[2]', 'Butterworth.x[3]', 'ChebyshevI.x[1]', 'ChebyshevI.x[2]', 'ChebyshevI.x[3]', 'CriticalDamping.x[1]', 'CriticalDamping.x[2]', 'CriticalDamping.x[3]'] 11.070020591956563 11.08708093 10.963176845 Calling exit ...