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/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 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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007934/0.0007934, allocations: 91.61 kB / 17 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008731/0.0008732, allocations: 194.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.0002711, allocations: 4 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.46 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.00268/0.1232, allocations: 2.207 MB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007205/0.1304, allocations: 4.294 MB / 488.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006494/0.1311, allocations: 19.81 kB / 488.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.132, allocations: 290.6 kB / 488.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.1325, allocations: 75.36 kB / 488.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.1387, allocations: 2.122 MB / 490.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.1404, allocations: 0.9978 MB / 491.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002402/0.1406, allocations: 69.73 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.1411, allocations: 386.6 kB / 492.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.1416, allocations: 366.4 kB / 492.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.1416, allocations: 28 kB / 492.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.1444, allocations: 1.452 MB / 493.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.1448, allocations: 271.2 kB / 494.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.145, allocations: 149.2 kB / 494.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.1476, allocations: 1.871 MB / 496.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1476, allocations: 0 / 496.2 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1476, allocations: 3.938 kB / 496.2 MB, free: 6.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1476, allocations: 0 / 496.2 MB, free: 6.688 MB / 366.1 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.003143/0.1508, allocations: 1.316 MB / 497.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.1509, allocations: 12.03 kB / 497.5 MB, free: 5.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.151, allocations: 74.53 kB / 497.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.1512, allocations: 106.7 kB / 497.7 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008167/0.152, allocations: 0.558 MB / 498.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1521, allocations: 37 kB / 498.3 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.1522, allocations: 71.8 kB / 498.4 MB, free: 4.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.1533, allocations: 0.7006 MB / 499.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1533, allocations: 0 / 499.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.164e-05/0.1534, allocations: 20 kB / 499.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1534, allocations: 8 kB / 499.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.154, allocations: 371.7 kB / 499.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.1565, allocations: 1.363 MB / 0.4891 GB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.158, allocations: 0.833 MB / 0.4899 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.1585, allocations: 297.9 kB / 0.4902 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.1585, allocations: 4.609 kB / 0.4902 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1586, allocations: 46.95 kB / 0.4902 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.876e-06/0.1586, allocations: 0 / 0.4902 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.001835/0.1604, allocations: 0.9773 MB / 0.4912 GB, free: 15.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004264/0.1609, allocations: 0.6687 MB / 0.4918 GB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.1621, allocations: 0.834 MB / 0.4926 GB, free: 13.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.1622, allocations: 49.64 kB / 0.4927 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.1626, allocations: 361.4 kB / 0.493 GB, free: 13.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.1628, allocations: 216.8 kB / 0.4932 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.1628, allocations: 16 kB / 0.4933 GB, free: 13.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.1631, allocations: 418.7 kB / 0.4937 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.1639, allocations: 0.5963 MB / 0.4942 GB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.165, allocations: 0.8262 MB / 0.495 GB, free: 11.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1661, allocations: 0.6919 MB / 0.4957 GB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1661, allocations: 0 / 0.4957 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003392/0.1695, allocations: 1.913 MB / 0.4976 GB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.1695, allocations: 6.188 kB / 0.4976 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.915e-05/0.1696, allocations: 19.98 kB / 0.4976 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.1711, allocations: 0.4978 MB / 0.4981 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/0.1717, allocations: 143.8 kB / 0.4982 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3276/0.4992, allocations: 16.89 MB / 0.5147 GB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.5001, allocations: 130.5 kB / 0.5149 GB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.5002, allocations: 29.66 kB / 0.5149 GB, free: 25.84 MB / 382.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 (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.0005434/0.5007, allocations: 289 kB / 0.5152 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.501, allocations: 88.84 kB / 0.5152 GB, free: 25.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.5012, allocations: 104 kB / 0.5153 GB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5012, allocations: 9.781 kB / 0.5154 GB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.5012, allocations: 1.125 kB / 0.5154 GB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.5012, allocations: 2.766 kB / 0.5154 GB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.5025, allocations: 0.6382 MB / 0.516 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.5025, allocations: 0 / 0.516 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.5032, allocations: 103.7 kB / 0.5161 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5032, allocations: 2.875 kB / 0.5161 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.5033, allocations: 33.22 kB / 0.5161 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5033, allocations: 2.094 kB / 0.5161 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5033, allocations: 8.844 kB / 0.5161 GB, free: 25.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.5052, allocations: 1.159 MB / 0.5173 GB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.5053, allocations: 162.8 kB / 0.5174 GB, free: 25.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.5054, allocations: 33.48 kB / 0.5174 GB, free: 25.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003323/0.5058, allocations: 34.67 kB / 0.5175 GB, free: 25.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5059, allocations: 31.45 kB / 0.5175 GB, free: 25.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.506, allocations: 16.28 kB / 0.5175 GB, free: 25.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009596/0.5069, allocations: 0.5302 MB / 0.518 GB, free: 25.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5069, allocations: 1.031 kB / 0.518 GB, free: 25.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00312/0.5101, allocations: 0.7618 MB / 0.5188 GB, free: 25.11 MB / 382.1 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.003738/0.5138, allocations: 2.312 MB / 0.521 GB, free: 24.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.518, allocations: 2.997 MB / 0.524 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.518, allocations: 2.359 kB / 0.524 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.5187, allocations: 334.3 kB / 0.5243 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.5199, allocations: 207.3 kB / 0.5245 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.5319, allocations: 7.58 MB / 0.5319 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006115/0.5325, allocations: 1.087 MB / 0.533 GB, free: 19.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00063/0.5332, allocations: 165.1 kB / 0.5331 GB, free: 19.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.5336, allocations: 338.5 kB / 0.5334 GB, free: 18.79 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5336, allocations: 0 / 0.5334 GB, free: 18.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/0.5857, allocations: 28.94 MB / 0.5617 GB, free: 9.66 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.5861, allocations: 245.7 kB / 0.5619 GB, free: 9.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.282, allocations: 3.5 kB / 0.5619 GB, free: 9.41 MB / 398.1 MB (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