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.001322/0.001322, allocations: 122.7 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.001365/0.001365, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.421/1.421, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001905/0.001905, allocations: 67.89 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.0994, allocations: 53.32 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00305/0.1025, allocations: 1.626 MB / 428.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.186/0.2885, allocations: 3.22 MB / 431.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.2886, allocations: 6.844 kB / 431.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.2889, allocations: 57.5 kB / 431.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.585e-05/0.2889, allocations: 16.09 kB / 431.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.2923, allocations: 1.41 MB / 433.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.2925, allocations: 154.1 kB / 433.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.2926, allocations: 18.86 kB / 433.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.2927, allocations: 58.89 kB / 433.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.2928, allocations: 53.58 kB / 433.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.2928, allocations: 11.19 kB / 433.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2943, allocations: 1.388 MB / 434.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.2943, allocations: 36.92 kB / 434.9 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.2944, allocations: 55.03 kB / 435 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2956, allocations: 1.201 MB / 436.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2956, allocations: 3.266 kB / 436.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2956, allocations: 0 / 436.2 MB, free: 7.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.2956, allocations: 0 / 436.2 MB, free: 7.449 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.0009385/0.2965, allocations: 0.5665 MB / 436.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.2966, allocations: 11.47 kB / 436.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.2966, allocations: 38.78 kB / 436.8 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.2966, allocations: 17.75 kB / 436.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2968, allocations: 218.7 kB / 437 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2968, allocations: 7.875 kB / 437 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.305e-05/0.2969, allocations: 12.62 kB / 437.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2971, allocations: 129.6 kB / 437.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2971, allocations: 2.172 kB / 437.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2971, allocations: 6.844 kB / 437.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.2971, allocations: 1.25 kB / 437.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.2972, allocations: 60.17 kB / 437.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.2977, allocations: 382.1 kB / 437.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.2981, allocations: 124.7 kB / 437.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.2982, allocations: 48.28 kB / 437.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.2982, allocations: 1.062 kB / 437.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.2982, allocations: 32.2 kB / 437.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2982, allocations: 0 / 437.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001904/0.3001, allocations: 1.221 MB / 439 MB, free: 5.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3001, allocations: 134.3 kB / 439.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3003, allocations: 181.1 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3003, allocations: 32.23 kB / 439.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.3003, allocations: 111.4 kB / 439.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3004, allocations: 53.2 kB / 439.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.3004, allocations: 45.72 kB / 439.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.3005, allocations: 324.2 kB / 439.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.3006, allocations: 96.72 kB / 440 MB, free: 4.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3008, allocations: 139.9 kB / 440.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3011, allocations: 207.4 kB / 440.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.3011, allocations: 2.812 kB / 440.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004612/0.3015, allocations: 302.4 kB / 440.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3015, allocations: 4.5 kB / 440.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3016, allocations: 3.516 kB / 440.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.3017, allocations: 50.75 kB / 440.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3019, allocations: 29.36 kB / 440.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/0.3028, allocations: 1.514 MB / 442.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-05/0.3029, allocations: 9.906 kB / 442.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3029, allocations: 9.984 kB / 442.3 MB, free: 3.199 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 9.673e-05/0.303, allocations: 132.6 kB / 442.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.303, allocations: 18.81 kB / 442.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.3031, allocations: 29.31 kB / 442.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3031, allocations: 5.141 kB / 442.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3031, allocations: 0.5312 kB / 442.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3031, allocations: 4.594 kB / 442.4 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.3033, allocations: 243.4 kB / 442.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3033, allocations: 0 / 442.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.3036, allocations: 50.12 kB / 442.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3036, allocations: 3.062 kB / 442.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3036, allocations: 5.469 kB / 442.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3036, allocations: 0 / 442.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3036, allocations: 5.312 kB / 442.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.3041, allocations: 412.4 kB / 443.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.3041, allocations: 90.12 kB / 443.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3041, allocations: 6.109 kB / 443.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3042, allocations: 8.953 kB / 443.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.3043, allocations: 13.56 kB / 443.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3043, allocations: 10.41 kB / 443.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.3043, allocations: 124.6 kB / 443.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3043, allocations: 0 / 443.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002428/0.3068, allocations: 0.5186 MB / 443.9 MB, free: 2.363 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.002112/0.3089, allocations: 1.395 MB / 445.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.3095, allocations: 376.5 kB / 445.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3095, allocations: 0.9375 kB / 445.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3097, allocations: 82.59 kB / 445.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.31, allocations: 30.67 kB / 445.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3128, allocations: 2.457 MB / 448.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.3132, allocations: 0.7331 MB / 449 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.3133, allocations: 37.2 kB / 449 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.3134, allocations: 48.38 kB / 449.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3134, allocations: 0 / 449.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.3557, allocations: 9.931 MB / 459 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.8/10.16, allocations: 15.89 kB / 459 MB, free: 11.44 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 --stepSize=0.000179856 --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.446929707191885] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]'] 10.24977596104145 10.270698802 9.971174282 Calling exit ...