Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00962/0.00962, allocations: 164.2 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.732/1.732, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001993/0.001993, allocations: 115.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5251/0.5251, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.000487, allocations: 15.98 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1508, allocations: 48.71 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5835, allocations: 88.76 MB / 0.4887 GB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5839, allocations: 70.84 kB / 0.4888 GB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.8365, allocations: 48.59 MB / 0.5362 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.8366, allocations: 0 / 0.5362 GB, free: 3.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.8368, allocations: 35.88 kB / 0.5363 GB, free: 3.684 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005631/0.8424, allocations: 1.382 MB / 0.5376 GB, free: 2.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.8425, allocations: 12.03 kB / 0.5376 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003479/0.8428, allocations: 82.53 kB / 0.5377 GB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000432/0.8433, allocations: 106.7 kB / 0.5378 GB, free: 2.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.8461, allocations: 0.7644 MB / 0.5386 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.823e-05/0.8462, allocations: 42.02 kB / 0.5386 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.8465, allocations: 75.8 kB / 0.5387 GB, free: 1.109 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.8483, allocations: 0.7436 MB / 0.5394 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8483, allocations: 7.422 kB / 0.5394 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.719e-05/0.8484, allocations: 20 kB / 0.5394 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.8485, allocations: 8 kB / 0.5394 GB, free: 224 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.8496, allocations: 371.7 kB / 0.5398 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/0.8546, allocations: 1.4 MB / 0.5412 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.8573, allocations: 0.8349 MB / 0.542 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.8574, allocations: 8.438 kB / 0.542 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.8575, allocations: 49.16 kB / 0.542 GB, free: 13.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.586e-06/0.8575, allocations: 3.938 kB / 0.542 GB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=53): time 0.002953/0.8605, allocations: 0.9733 MB / 0.543 GB, free: 12.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000352/0.8609, allocations: 0.6647 MB / 0.5436 GB, free: 11.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8625, allocations: 0.7356 MB / 0.5443 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003289/0.8629, allocations: 49.7 kB / 0.5444 GB, free: 10.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004415/0.8633, allocations: 349.4 kB / 0.5447 GB, free: 10.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.8637, allocations: 224.8 kB / 0.5449 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.8638, allocations: 16 kB / 0.545 GB, free: 10.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/0.8641, allocations: 426.7 kB / 0.5454 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.8657, allocations: 0.5612 MB / 0.5459 GB, free: 9.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.8678, allocations: 0.8105 MB / 0.5467 GB, free: 8.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.87, allocations: 0.6737 MB / 0.5474 GB, free: 7.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.8701, allocations: 4 kB / 0.5474 GB, free: 7.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.006106/0.8762, allocations: 1.874 MB / 0.5492 GB, free: 5.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.8763, allocations: 9.406 kB / 0.5492 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/0.8764, allocations: 27.95 kB / 0.5492 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00259/0.879, allocations: 0.49 MB / 0.5497 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.8803, allocations: 143.8 kB / 0.5498 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.9003, allocations: 17.05 MB / 0.5665 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.9014, allocations: 122.8 kB / 0.5666 GB, free: 2.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.9016, allocations: 43.98 kB / 0.5666 GB, free: 2.309 MB / 410.7 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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007934/0.9024, allocations: 291.2 kB / 0.5669 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.9026, allocations: 82.88 kB / 0.567 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002854/0.9029, allocations: 105.4 kB / 0.5671 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.9029, allocations: 8 kB / 0.5671 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.9029, allocations: 0 / 0.5671 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.9029, allocations: 0 / 0.5671 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.9042, allocations: 0.6418 MB / 0.5677 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.9042, allocations: 3.938 kB / 0.5677 GB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.9059, allocations: 104.5 kB / 0.5678 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.9059, allocations: 4 kB / 0.5678 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.906, allocations: 35.97 kB / 0.5679 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.906, allocations: 4 kB / 0.5679 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9061, allocations: 0 / 0.5679 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.9089, allocations: 1.154 MB / 0.569 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.9092, allocations: 159.8 kB / 0.5692 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.9095, allocations: 43.92 kB / 0.5692 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/0.9102, allocations: 27.97 kB / 0.5692 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.9103, allocations: 36.33 kB / 0.5693 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.9104, allocations: 15.98 kB / 0.5693 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.9116, allocations: 0.5269 MB / 0.5698 GB, free: 14.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9116, allocations: 0 / 0.5698 GB, free: 14.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00373/0.9153, allocations: 0.8119 MB / 0.5706 GB, free: 14.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006238/0.9216, allocations: 2.352 MB / 0.5729 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006918/0.9286, allocations: 2.994 MB / 0.5758 GB, free: 8.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.9287, allocations: 4 kB / 0.5758 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.9297, allocations: 334.2 kB / 0.5761 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.9313, allocations: 194 kB / 0.5763 GB, free: 8.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/0.9395, allocations: 3.304 MB / 0.5795 GB, free: 4.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.9406, allocations: 1.11 MB / 0.5806 GB, free: 3.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009112/0.9415, allocations: 161.2 kB / 0.5808 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007577/0.9423, allocations: 343.3 kB / 0.5811 GB, free: 3.051 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9423, allocations: 0 / 0.5811 GB, free: 3.051 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3755/1.318, allocations: 27.87 MB / 0.6083 GB, free: 101.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/1.318, allocations: 221.3 kB / 0.6085 GB, free: 101.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.67/4.988, allocations: 0 / 0.6085 GB, free: 101.4 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat