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.001343/0.001343, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00161/0.00161, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.001945/0.001945, allocations: 68.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.37 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002982/0.2559, allocations: 1.855 MB / 433.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005776/0.2617, allocations: 3.604 MB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2618, allocations: 7.875 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.2623, allocations: 131.3 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.2624, allocations: 39.7 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.2664, allocations: 1.776 MB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.2668, allocations: 319 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2669, allocations: 16.94 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.2672, allocations: 123.5 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.2673, allocations: 107.4 kB / 439.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2673, allocations: 16 kB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.2677, allocations: 179.7 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2678, allocations: 75.62 kB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2679, allocations: 99.34 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.2684, allocations: 347.9 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2684, allocations: 0 / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2684, allocations: 0 / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.2684, allocations: 0 / 440.6 MB, free: 14.21 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008371/0.2692, allocations: 0.5202 MB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2693, allocations: 8.031 kB / 441.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.2693, allocations: 42.75 kB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.2694, allocations: 32.75 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.2698, allocations: 226.5 kB / 441.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2698, allocations: 20.3 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.2699, allocations: 15.95 kB / 441.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.2702, allocations: 207.6 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2702, allocations: 0 / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.2702, allocations: 8 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2702, allocations: 0 / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.2704, allocations: 91.88 kB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007932/0.2712, allocations: 455.7 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.2715, allocations: 168.7 kB / 442.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2716, allocations: 56.83 kB / 442.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.2717, allocations: 4 kB / 442.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.2717, allocations: 34.56 kB / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.2717, allocations: 0 / 442.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004693/0.2722, allocations: 221.4 kB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.2723, allocations: 290.8 kB / 442.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.2726, allocations: 292.4 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2727, allocations: 33.7 kB / 443.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2728, allocations: 152.5 kB / 443.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.2728, allocations: 51.53 kB / 443.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.2729, allocations: 65.67 kB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2731, allocations: 338.8 kB / 443.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.2733, allocations: 95.94 kB / 443.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.2735, allocations: 184.5 kB / 444.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2739, allocations: 213.9 kB / 444.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2739, allocations: 4 kB / 444.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004693/0.2743, allocations: 297.4 kB / 444.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2744, allocations: 4 kB / 444.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/0.2744, allocations: 7.984 kB / 444.6 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.2744, allocations: 4.109 kB / 444.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.2747, allocations: 51.91 kB / 444.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2747, allocations: 7.875 kB / 444.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.2748, allocations: 27.83 kB / 444.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.2748, allocations: 12 kB / 444.7 MB, free: 9.742 MB / 350.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.000153/0.275, allocations: 137.8 kB / 444.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.275, allocations: 23.86 kB / 444.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.2751, allocations: 33.91 kB / 444.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2751, allocations: 3.984 kB / 444.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2751, allocations: 3.938 kB / 444.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2751, allocations: 4 kB / 444.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.2754, allocations: 244.5 kB / 445.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2754, allocations: 0 / 445.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2756, allocations: 31.92 kB / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2756, allocations: 0 / 445.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2756, allocations: 7.984 kB / 445.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2756, allocations: 0 / 445.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2756, allocations: 3.938 kB / 445.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004828/0.2761, allocations: 337.8 kB / 445.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.2761, allocations: 27.75 kB / 445.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.2762, allocations: 4 kB / 445.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.2763, allocations: 12.05 kB / 445.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.2763, allocations: 11.92 kB / 445.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.2763, allocations: 4 kB / 445.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.2765, allocations: 203.1 kB / 445.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2765, allocations: 96 / 445.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00035/0.2769, allocations: 75.81 kB / 445.9 MB, free: 8.531 MB / 350.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.0009163/0.2778, allocations: 0.9073 MB / 446.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004594/0.2783, allocations: 273 kB / 447.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2783, allocations: 0 / 447.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2784, allocations: 63.83 kB / 447.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2789, allocations: 85.69 kB / 447.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.2824, allocations: 2.781 MB / 450 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.2828, allocations: 0.7675 MB / 450.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.2829, allocations: 45.91 kB / 450.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.283, allocations: 83.41 kB / 450.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.283, allocations: 0 / 450.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.3149, allocations: 6.656 MB / 457.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.549, allocations: 8.797 kB / 457.5 MB, free: 12.83 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: 10.99762826692313] 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.621337051037699 8.637279975 8.365781601 Calling exit ...