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.001289/0.001289, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001361/0.001361, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.448/1.448, allocations: 230.5 MB / 254.8 MB, free: 15.12 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.002234/0.002234, allocations: 71.97 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1045, allocations: 53.33 MB / 427 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00304/0.1075, allocations: 1.622 MB / 428.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1959/0.3034, allocations: 3.226 MB / 431.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3035, allocations: 4.406 kB / 431.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.3039, allocations: 55.98 kB / 431.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.309e-05/0.304, allocations: 14.12 kB / 431.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.3075, allocations: 1.428 MB / 433.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.3077, allocations: 151.1 kB / 433.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3079, allocations: 11.25 kB / 433.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.3079, allocations: 62.8 kB / 433.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.308, allocations: 52.41 kB / 433.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.308, allocations: 7.844 kB / 433.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.31, allocations: 1.388 MB / 435 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.3101, allocations: 42.75 kB / 435.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.3102, allocations: 55.44 kB / 435.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3119, allocations: 1.206 MB / 436.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3119, allocations: 4.188 kB / 436.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3119, allocations: 0 / 436.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.3119, allocations: 0 / 436.3 MB, free: 7.438 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.001181/0.3131, allocations: 0.5632 MB / 436.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3132, allocations: 12.44 kB / 436.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3132, allocations: 37.42 kB / 436.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3132, allocations: 15.73 kB / 436.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3135, allocations: 215.7 kB / 437.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.3135, allocations: 5.25 kB / 437.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.3135, allocations: 12.88 kB / 437.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3138, allocations: 131.3 kB / 437.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3138, allocations: 4.734 kB / 437.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.3138, allocations: 5.844 kB / 437.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3138, allocations: 1.562 kB / 437.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.314, allocations: 56.73 kB / 437.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.3145, allocations: 389 kB / 437.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3149, allocations: 124.7 kB / 437.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.315, allocations: 40.7 kB / 437.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.315, allocations: 1.547 kB / 437.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.315, allocations: 34.33 kB / 437.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.315, allocations: 4 kB / 438 MB, free: 6.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002181/0.3172, allocations: 1.218 MB / 439.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3173, allocations: 131.5 kB / 439.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3174, allocations: 181.4 kB / 439.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3175, allocations: 30.92 kB / 439.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.3175, allocations: 115.2 kB / 439.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3176, allocations: 47.77 kB / 439.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.3176, allocations: 51.94 kB / 439.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.3177, allocations: 326.6 kB / 440 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.3179, allocations: 96.36 kB / 440.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.3181, allocations: 135.1 kB / 440.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3184, allocations: 205.7 kB / 440.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3184, allocations: 0.5 kB / 440.5 MB, free: 4.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005191/0.319, allocations: 308.8 kB / 440.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.319, allocations: 5.812 kB / 440.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.319, allocations: 4.719 kB / 440.8 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.3192, allocations: 43.77 kB / 440.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3193, allocations: 32.89 kB / 440.8 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.3204, allocations: 1.516 MB / 442.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.793e-05/0.3205, allocations: 14.16 kB / 442.4 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3205, allocations: 8.719 kB / 442.4 MB, free: 3.168 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.0001316/0.3206, allocations: 133 kB / 442.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.3207, allocations: 14.41 kB / 442.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.528e-05/0.3207, allocations: 25.55 kB / 442.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3207, allocations: 2.172 kB / 442.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3207, allocations: 4 kB / 442.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3208, allocations: 5.625 kB / 442.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.321, allocations: 249.2 kB / 442.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.321, allocations: 0 / 442.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.3213, allocations: 53.67 kB / 442.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3213, allocations: 1.219 kB / 442.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.3213, allocations: 5.938 kB / 442.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3213, allocations: 0 / 442.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3213, allocations: 1.219 kB / 442.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005376/0.3218, allocations: 420.4 kB / 443.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3219, allocations: 92.12 kB / 443.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3219, allocations: 6.906 kB / 443.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.322, allocations: 9.109 kB / 443.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.3221, allocations: 11.05 kB / 443.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3221, allocations: 8.5 kB / 443.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.846e-05/0.3222, allocations: 124.4 kB / 443.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3222, allocations: 0 / 443.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003138/0.3253, allocations: 0.5184 MB / 444 MB, free: 2.336 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.002258/0.3276, allocations: 1.375 MB / 445.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007023/0.3283, allocations: 372.9 kB / 445.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3283, allocations: 4.609 kB / 445.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3284, allocations: 83.58 kB / 445.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3288, allocations: 41.7 kB / 445.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.3317, allocations: 2.453 MB / 448.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.3322, allocations: 0.7339 MB / 449.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3323, allocations: 33.92 kB / 449.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3324, allocations: 46.73 kB / 449.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3324, allocations: 0 / 449.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04579/0.3782, allocations: 9.876 MB / 459.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.866/10.24, allocations: 15.48 kB / 459.1 MB, free: 11.45 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.755044205114245] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]'] 10.328003028873354 10.33988092 10.025161846 Calling exit ...