Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001691/0.001691, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002019/0.002019, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation",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.001983/0.001983, allocations: 60.78 kB / 378.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2568, allocations: 53.37 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002982/0.2598, allocations: 1.644 MB / 433.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.2652, allocations: 3.257 MB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.2653, allocations: 0 / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.2657, allocations: 63.69 kB / 436.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.2657, allocations: 7.875 kB / 436.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2694, allocations: 1.48 MB / 438.4 MB, free: 476 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.2697, allocations: 147.6 kB / 438.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2698, allocations: 21.3 kB / 438.5 MB, free: 304 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.2698, allocations: 59.77 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.89e-05/0.2699, allocations: 47.78 kB / 438.6 MB, free: 196 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.27, allocations: 8 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.2718, allocations: 1.452 MB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.417e-05/0.2719, allocations: 35.86 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.2719, allocations: 55.66 kB / 440.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.2732, allocations: 1.21 MB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2732, allocations: 0 / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2732, allocations: 0 / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2732, allocations: 0 / 441.4 MB, free: 13.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000973/0.2742, allocations: 0.4935 MB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2742, allocations: 8.031 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.2742, allocations: 46.73 kB / 441.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.2743, allocations: 20.78 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2745, allocations: 159 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2746, allocations: 12.31 kB / 442.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.2746, allocations: 16.12 kB / 442.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2749, allocations: 125 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.2749, allocations: 4 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2749, allocations: 4 kB / 442.3 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.2749, allocations: 4 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.275, allocations: 59.88 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.2757, allocations: 351.7 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.2761, allocations: 126.5 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.2761, allocations: 40.83 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.2762, allocations: 0 / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.2762, allocations: 38.56 kB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.12e-07/0.2762, allocations: 0 / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002172/0.2784, allocations: 0.9887 MB / 443.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.917e-05/0.2785, allocations: 140.5 kB / 444 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.2786, allocations: 178.2 kB / 444.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2787, allocations: 29.7 kB / 444.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.2787, allocations: 112.5 kB / 444.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.2788, allocations: 47.97 kB / 444.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.2789, allocations: 45.7 kB / 444.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.279, allocations: 330.8 kB / 444.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2792, allocations: 91.95 kB / 444.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.2794, allocations: 147.2 kB / 445 MB, free: 9.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.2797, allocations: 204.7 kB / 445.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2797, allocations: 0 / 445.2 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005372/0.2803, allocations: 306.1 kB / 445.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2803, allocations: 4 kB / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.2803, allocations: 7.984 kB / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.2805, allocations: 40.83 kB / 445.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2806, allocations: 31.98 kB / 445.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.282, allocations: 1.416 MB / 447 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.2821, allocations: 4.031 kB / 447 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2821, allocations: 11.98 kB / 447 MB, free: 7.414 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.2822, allocations: 138.1 kB / 447.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.2823, allocations: 19.89 kB / 447.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.2823, allocations: 21.47 kB / 447.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2823, allocations: 0 / 447.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.2823, allocations: 3.938 kB / 447.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2823, allocations: 0 / 447.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.2826, allocations: 216.7 kB / 447.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2826, allocations: 11.98 kB / 447.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.2829, allocations: 51.97 kB / 447.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2829, allocations: 4 kB / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2829, allocations: 0 / 447.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2829, allocations: 3.984 kB / 447.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.2829, allocations: 7.875 kB / 447.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.2835, allocations: 407.3 kB / 447.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.2835, allocations: 19.83 kB / 447.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.2835, allocations: 4 kB / 447.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2836, allocations: 8 kB / 447.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2837, allocations: 11.92 kB / 447.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2837, allocations: 7.984 kB / 447.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000101/0.2838, allocations: 128.2 kB / 448 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2838, allocations: 0 / 448 MB, free: 6.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001521/0.2853, allocations: 0.5077 MB / 448.5 MB, free: 5.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.001863/0.2872, allocations: 1.372 MB / 449.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007025/0.2879, allocations: 377.9 kB / 450.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2879, allocations: 0 / 450.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.288, allocations: 90.78 kB / 450.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.2884, allocations: 38.83 kB / 450.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.2914, allocations: 2.465 MB / 452.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2918, allocations: 0.7319 MB / 453.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.88e-05/0.2919, allocations: 33.06 kB / 453.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.292, allocations: 43.42 kB / 453.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of SimCode: time 6.62e-07/0.292, allocations: 0 / 453.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03994/0.3319, allocations: 9.957 MB / 463.6 MB, free: 6.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.22, allocations: 0 / 463.6 MB, free: 6.645 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_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_FilterWithDifferentiation.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.55901955999434] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]'] 10.303291921969503 10.327604548 10.049719197 Calling exit ...