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.001224/0.001224, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001417/0.001417, allocations: 221.2 kB / 23 MB, free: 5.582 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.427/1.427, allocations: 230.5 MB / 256.5 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.001924/0.001924, allocations: 67.89 kB / 376.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 53.32 MB / 429.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00309/0.2667, allocations: 1.644 MB / 431.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.2715, allocations: 3.253 MB / 434.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.2716, allocations: 4 kB / 434.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.2719, allocations: 55.7 kB / 434.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.272, allocations: 15.86 kB / 434.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002996/0.275, allocations: 1.398 MB / 435.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2752, allocations: 143.7 kB / 436 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.2753, allocations: 21.11 kB / 436 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.2754, allocations: 55.83 kB / 436.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.2755, allocations: 55.7 kB / 436.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.2755, allocations: 8 kB / 436.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.2771, allocations: 1.393 MB / 437.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.2771, allocations: 35.86 kB / 437.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.2772, allocations: 51.67 kB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.2783, allocations: 1.204 MB / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2784, allocations: 0 / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2784, allocations: 0 / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.2784, allocations: 3.938 kB / 438.8 MB, free: 14.07 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.0009073/0.2793, allocations: 0.5727 MB / 439.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2793, allocations: 8.031 kB / 439.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.2793, allocations: 38.75 kB / 439.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.2794, allocations: 16.84 kB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2796, allocations: 216.2 kB / 439.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2797, allocations: 12.3 kB / 439.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.2797, allocations: 16.12 kB / 439.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.2799, allocations: 125.1 kB / 439.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2799, allocations: 0 / 439.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.28, allocations: 4 kB / 439.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.28, allocations: 4 kB / 439.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.2801, allocations: 51.95 kB / 439.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005785/0.2807, allocations: 384.5 kB / 440.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.281, allocations: 134.5 kB / 440.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.2811, allocations: 36.84 kB / 440.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2811, allocations: 0 / 440.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2811, allocations: 38.56 kB / 440.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.2811, allocations: 3.938 kB / 440.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00222/0.2834, allocations: 1.214 MB / 441.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.2834, allocations: 132.5 kB / 441.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2836, allocations: 178.3 kB / 442 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2836, allocations: 25.7 kB / 442 MB, free: 10.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.2837, allocations: 116.5 kB / 442.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.2838, allocations: 59.58 kB / 442.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.2838, allocations: 41.7 kB / 442.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.284, allocations: 322.8 kB / 442.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.2841, allocations: 99.94 kB / 442.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.2843, allocations: 135.3 kB / 442.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.2847, allocations: 209.8 kB / 443 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2847, allocations: 0 / 443 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005306/0.2852, allocations: 306.1 kB / 443.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2852, allocations: 4 kB / 443.3 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.2852, allocations: 4 kB / 443.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.2854, allocations: 48.75 kB / 443.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.2856, allocations: 29.2 kB / 443.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.2869, allocations: 1.519 MB / 444.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.8e-05/0.287, allocations: 16.02 kB / 444.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.287, allocations: 4 kB / 444.9 MB, free: 7.453 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.0001315/0.2871, allocations: 137.8 kB / 445 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.2872, allocations: 15.91 kB / 445.1 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.2872, allocations: 25.53 kB / 445.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2872, allocations: 0 / 445.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2872, allocations: 7.922 kB / 445.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2872, allocations: 4.062 kB / 445.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.2875, allocations: 249.5 kB / 445.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2875, allocations: 0 / 445.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.2878, allocations: 51.95 kB / 445.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2878, allocations: 3.938 kB / 445.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.2878, allocations: 4 kB / 445.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2878, allocations: 0 / 445.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.2878, allocations: 7.938 kB / 445.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.2883, allocations: 407.2 kB / 445.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.2884, allocations: 89.02 kB / 445.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.2884, allocations: 8 kB / 445.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2885, allocations: 4.031 kB / 445.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.2886, allocations: 19.92 kB / 445.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2886, allocations: 0 / 445.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.876e-05/0.2887, allocations: 124.2 kB / 446 MB, free: 6.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2887, allocations: 0 / 446 MB, free: 6.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001466/0.2901, allocations: 0.5194 MB / 446.6 MB, free: 5.707 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.001821/0.292, allocations: 1.391 MB / 448 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006415/0.2926, allocations: 382 kB / 448.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2926, allocations: 0 / 448.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.2928, allocations: 79.89 kB / 448.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.2931, allocations: 34.89 kB / 448.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.296, allocations: 2.469 MB / 450.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.2964, allocations: 0.728 MB / 451.6 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.208e-05/0.2965, allocations: 33.23 kB / 451.7 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.491e-05/0.2966, allocations: 47.42 kB / 451.7 MB, free: 408 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2966, allocations: 0 / 451.7 MB, free: 408 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/0.3468, allocations: 9.89 MB / 461.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.687/10.03, allocations: 17.75 kB / 461.6 MB, free: 6.605 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 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.252868306008168] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]'] 10.118827730009798 10.134355404 9.852529359 Calling exit ...