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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 117.2 kB / 17.78 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.001391, allocations: 200.6 kB / 18.73 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.4/1.4, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB 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.002951/0.002951, allocations: 71.88 kB / 358.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2756, allocations: 50.54 MB / 409.1 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002799/0.2785, allocations: 1.623 MB / 410.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.2833, allocations: 3.202 MB / 413.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.2834, allocations: 3.938 kB / 413.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.2837, allocations: 59.69 kB / 413.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.602e-05/0.2838, allocations: 11.88 kB / 414 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.2869, allocations: 1.416 MB / 415.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.2871, allocations: 143.7 kB / 415.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2873, allocations: 29.03 kB / 415.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.2873, allocations: 51.84 kB / 415.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2875, allocations: 63.69 kB / 415.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.2875, allocations: 8 kB / 415.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.2891, allocations: 1.382 MB / 417 MB, free: 9.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.2892, allocations: 35.91 kB / 417.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.2893, allocations: 51.67 kB / 417.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2905, allocations: 1.204 MB / 418.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2905, allocations: 4 kB / 418.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2905, allocations: 3.938 kB / 418.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2905, allocations: 0 / 418.3 MB, free: 8.102 MB / 334.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.0009394/0.2915, allocations: 0.5649 MB / 418.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2915, allocations: 12.03 kB / 418.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.2916, allocations: 42.67 kB / 419 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.2916, allocations: 16.84 kB / 419 MB, free: 7.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2919, allocations: 216.2 kB / 419.2 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2919, allocations: 4.375 kB / 419.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.2919, allocations: 12.12 kB / 419.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.2922, allocations: 129 kB / 419.3 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2922, allocations: 0 / 419.3 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2922, allocations: 8 kB / 419.3 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.2922, allocations: 3.984 kB / 419.3 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2924, allocations: 55.95 kB / 419.4 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.293, allocations: 388.5 kB / 419.8 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.2934, allocations: 130.5 kB / 419.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.2935, allocations: 48.83 kB / 419.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.2935, allocations: 0 / 419.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2935, allocations: 34.56 kB / 420 MB, free: 6.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.625e-06/0.2935, allocations: 4 kB / 420 MB, free: 6.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002193/0.2957, allocations: 1.211 MB / 421.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/0.2958, allocations: 132.8 kB / 421.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.296, allocations: 178.2 kB / 421.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.296, allocations: 33.7 kB / 421.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.2961, allocations: 112.4 kB / 421.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.2961, allocations: 55.58 kB / 421.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.2962, allocations: 45.7 kB / 421.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2964, allocations: 334.8 kB / 422.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.2965, allocations: 87.95 kB / 422.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.2968, allocations: 139.3 kB / 422.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.2971, allocations: 205.7 kB / 422.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2971, allocations: 0 / 422.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005377/0.2977, allocations: 310.2 kB / 422.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2977, allocations: 8 kB / 422.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.2977, allocations: 3.984 kB / 422.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.2979, allocations: 36.83 kB / 422.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.2981, allocations: 35.92 kB / 422.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.2994, allocations: 1.519 MB / 424.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.2995, allocations: 8.172 kB / 424.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2996, allocations: 15.98 kB / 424.4 MB, free: 1.469 MB / 334.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.0001304/0.2997, allocations: 133.8 kB / 424.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.2998, allocations: 11.91 kB / 424.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.39e-05/0.2998, allocations: 21.53 kB / 424.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2998, allocations: 4 kB / 424.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/0.2998, allocations: 3.938 kB / 424.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2999, allocations: 7.969 kB / 424.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3001, allocations: 245.5 kB / 424.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3001, allocations: 4 kB / 424.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.3004, allocations: 59.91 kB / 424.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3004, allocations: 0 / 424.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3005, allocations: 3.984 kB / 424.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3005, allocations: 4 kB / 424.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3005, allocations: 3.938 kB / 424.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.301, allocations: 410.7 kB / 425.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.3011, allocations: 89.02 kB / 425.4 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.3011, allocations: 4 kB / 425.4 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3012, allocations: 11.94 kB / 425.4 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.3013, allocations: 11.97 kB / 425.4 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3013, allocations: 4 kB / 425.4 MB, free: 376 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.3014, allocations: 124.2 kB / 425.6 MB, free: 252 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3014, allocations: 0 / 425.6 MB, free: 252 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001368/0.3028, allocations: 0.5194 MB / 426.1 MB, free: 15.73 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.001875/0.3047, allocations: 1.394 MB / 427.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006954/0.3054, allocations: 386 kB / 427.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3054, allocations: 4 kB / 427.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.3056, allocations: 91.88 kB / 427.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.306, allocations: 33.41 kB / 428 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3091, allocations: 2.444 MB / 430.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3095, allocations: 0.7319 MB / 431.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.883e-05/0.3096, allocations: 33.05 kB / 431.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.3097, allocations: 47.42 kB / 431.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3097, allocations: 0 / 431.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03747/0.3472, allocations: 9.915 MB / 441.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.682/10.03, allocations: 16.17 kB / 441.2 MB, free: 0.6289 MB / 350.1 MB (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.00036 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)