Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000988/0.000988, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008014/0.0008014, allocations: 98.81 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.117e-05, allocations: 8 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 63.25 MB / 0.5115 GB, free: 6.688 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5214, allocations: 102 MB / 0.6111 GB, free: 8.133 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.5217, allocations: 71.34 kB / 0.6111 GB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1319/0.6537, allocations: 48.82 MB / 0.6588 GB, free: 13.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6537, allocations: 0 / 0.6588 GB, free: 13.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.144e-05/0.6538, allocations: 39.88 kB / 0.6588 GB, free: 13.46 MB / 458.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.002452/0.6562, allocations: 1.222 MB / 0.66 GB, free: 12.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6563, allocations: 15.97 kB / 0.66 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.34e-05/0.6564, allocations: 71.97 kB / 0.6601 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.6566, allocations: 106.7 kB / 0.6602 GB, free: 12.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.6579, allocations: 0.7672 MB / 0.661 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.6579, allocations: 42.95 kB / 0.661 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.658, allocations: 67.56 kB / 0.6611 GB, free: 11.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.6589, allocations: 0.7287 MB / 0.6618 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.659, allocations: 0 / 0.6618 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.172e-05/0.659, allocations: 20.31 kB / 0.6618 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.659, allocations: 12 kB / 0.6618 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.6596, allocations: 362.4 kB / 0.6622 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.6618, allocations: 1.393 MB / 0.6635 GB, free: 9.141 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.6631, allocations: 0.8211 MB / 0.6643 GB, free: 8.527 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.6635, allocations: 278.3 kB / 0.6646 GB, free: 8.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.6635, allocations: 8.438 kB / 0.6646 GB, free: 8.328 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.6636, allocations: 41.44 kB / 0.6646 GB, free: 8.285 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.985e-06/0.6636, allocations: 0 / 0.6646 GB, free: 8.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001017/0.6646, allocations: 0.6912 MB / 0.6653 GB, free: 7.738 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/0.6649, allocations: 0.6721 MB / 0.666 GB, free: 6.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.6656, allocations: 0.7274 MB / 0.6667 GB, free: 6.312 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.638e-05/0.6657, allocations: 47.39 kB / 0.6667 GB, free: 6.273 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6659, allocations: 359.8 kB / 0.6671 GB, free: 6.066 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.6661, allocations: 216.6 kB / 0.6673 GB, free: 5.883 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.6661, allocations: 17.88 kB / 0.6673 GB, free: 5.879 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6663, allocations: 420.9 kB / 0.6677 GB, free: 5.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.667, allocations: 0.5578 MB / 0.6682 GB, free: 5.117 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000887/0.6679, allocations: 0.7932 MB / 0.669 GB, free: 4.453 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/0.6688, allocations: 0.661 MB / 0.6697 GB, free: 3.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6688, allocations: 0 / 0.6697 GB, free: 3.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002958/0.6718, allocations: 1.849 MB / 0.6715 GB, free: 2.098 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6718, allocations: 4 kB / 0.6715 GB, free: 2.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.723e-05/0.6719, allocations: 23.97 kB / 0.6715 GB, free: 2.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.6733, allocations: 0.4978 MB / 0.672 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.6739, allocations: 143.9 kB / 0.6721 GB, free: 1.395 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.6859, allocations: 16.89 MB / 0.6886 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/0.6866, allocations: 134.4 kB / 0.6887 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.6867, allocations: 39.94 kB / 0.6888 GB, free: 14.73 MB / 490.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 () * 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.0002072/0.6869, allocations: 157 kB / 0.6889 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.6871, allocations: 86.88 kB / 0.689 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.6873, allocations: 97.19 kB / 0.6891 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.6873, allocations: 11.94 kB / 0.6891 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6874, allocations: 0 / 0.6891 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6874, allocations: 3.984 kB / 0.6891 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.6881, allocations: 0.6379 MB / 0.6897 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6881, allocations: 0 / 0.6897 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.6888, allocations: 107.9 kB / 0.6898 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6889, allocations: 4 kB / 0.6898 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.6889, allocations: 27.98 kB / 0.6899 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6889, allocations: 4 kB / 0.6899 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6889, allocations: 0 / 0.6899 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.6903, allocations: 1.133 MB / 0.691 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.6905, allocations: 163.8 kB / 0.6911 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6906, allocations: 31.98 kB / 0.6912 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/0.6909, allocations: 35.91 kB / 0.6912 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.684e-05/0.691, allocations: 28.39 kB / 0.6912 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.6911, allocations: 19.98 kB / 0.6912 GB, free: 12.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005784/0.6917, allocations: 0.5193 MB / 0.6918 GB, free: 11.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6917, allocations: 4 kB / 0.6918 GB, free: 11.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002599/0.6943, allocations: 0.812 MB / 0.6926 GB, free: 10.74 MB / 490.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 () * 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.003222/0.6975, allocations: 2.322 MB / 0.6948 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003678/0.7012, allocations: 2.953 MB / 0.6977 GB, free: 5.207 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.7012, allocations: 8 kB / 0.6977 GB, free: 5.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.7017, allocations: 318.3 kB / 0.698 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.7025, allocations: 188.2 kB / 0.6982 GB, free: 4.707 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.7057, allocations: 2.45 MB / 0.7006 GB, free: 2.219 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.7063, allocations: 1.114 MB / 0.7017 GB, free: 1.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.7068, allocations: 165.2 kB / 0.7018 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.7072, allocations: 339.3 kB / 0.7022 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of SimCode: time 4.048e-06/0.7072, allocations: 0 / 0.7022 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.7554, allocations: 30.69 MB / 0.7321 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.7557, allocations: 199.4 kB / 0.7323 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.307, allocations: 0 / 0.7323 GB, free: 1.801 MB / 0.5105 GB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat