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.001253/0.001253, allocations: 94.97 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 45.9 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 63.46 MB / 481.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002483/0.1293, allocations: 2.222 MB / 483.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.1358, allocations: 4.259 MB / 488 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002514/0.1361, allocations: 15.81 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.137, allocations: 426.7 kB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1372, allocations: 95.59 kB / 488.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.1422, allocations: 2.097 MB / 490.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.1434, allocations: 0.7607 MB / 491.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.1437, allocations: 81.59 kB / 491.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.1442, allocations: 422.7 kB / 491.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.1447, allocations: 362.5 kB / 492.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.1448, allocations: 28 kB / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1466, allocations: 1.362 MB / 493.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.1469, allocations: 279.2 kB / 493.9 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.1471, allocations: 149.2 kB / 494 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.1489, allocations: 1.879 MB / 495.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1489, allocations: 0 / 495.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1489, allocations: 0 / 495.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.1489, allocations: 0 / 495.9 MB, free: 6.895 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.002219/0.1512, allocations: 1.316 MB / 497.2 MB, free: 5.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1512, allocations: 8.031 kB / 497.2 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.564e-05/0.1513, allocations: 78.53 kB / 497.3 MB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1515, allocations: 106.7 kB / 497.4 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.1523, allocations: 0.5503 MB / 498 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1523, allocations: 41 kB / 498 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.1525, allocations: 71.81 kB / 498.1 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.1534, allocations: 0.6966 MB / 498.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1535, allocations: 0 / 498.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.1535, allocations: 28 kB / 498.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.1535, allocations: 8 kB / 498.8 MB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.1541, allocations: 367.7 kB / 499.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.1565, allocations: 1.363 MB / 0.4888 GB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.158, allocations: 0.8407 MB / 0.4896 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1581, allocations: 4.438 kB / 0.4896 GB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1581, allocations: 55.11 kB / 0.4897 GB, free: 1.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.753e-06/0.1581, allocations: 0 / 0.4897 GB, free: 1.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.001519/0.1596, allocations: 0.9732 MB / 0.4906 GB, free: 128 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003471/0.16, allocations: 0.6687 MB / 0.4913 GB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009628/0.161, allocations: 0.8341 MB / 0.4921 GB, free: 14.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.184e-05/0.161, allocations: 53.67 kB / 0.4921 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.1613, allocations: 357.4 kB / 0.4925 GB, free: 14.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.1615, allocations: 220.8 kB / 0.4927 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1616, allocations: 12 kB / 0.4927 GB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.1618, allocations: 418.7 kB / 0.4931 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008233/0.1627, allocations: 0.5846 MB / 0.4937 GB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009796/0.1636, allocations: 0.8268 MB / 0.4945 GB, free: 11.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009109/0.1646, allocations: 0.6919 MB / 0.4952 GB, free: 11.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1646, allocations: 0 / 0.4952 GB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002804/0.1674, allocations: 1.917 MB / 0.497 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1674, allocations: 11.95 kB / 0.497 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-05/0.1675, allocations: 15.98 kB / 0.4971 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.1688, allocations: 0.4939 MB / 0.4975 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.1694, allocations: 139.8 kB / 0.4977 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3049/0.4743, allocations: 17.04 MB / 0.5143 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.4751, allocations: 129.5 kB / 0.5144 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.4752, allocations: 27.92 kB / 0.5145 GB, free: 25.62 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.000668/0.4759, allocations: 287.5 kB / 0.5147 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.476, allocations: 97.39 kB / 0.5148 GB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.4762, allocations: 105.7 kB / 0.5149 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.4762, allocations: 8.75 kB / 0.5149 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4763, allocations: 1.891 kB / 0.5149 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.4763, allocations: 2.203 kB / 0.5149 GB, free: 25.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.4772, allocations: 0.6319 MB / 0.5156 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4772, allocations: 1.031 kB / 0.5156 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/0.478, allocations: 107.2 kB / 0.5157 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.478, allocations: 1.844 kB / 0.5157 GB, free: 25.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.4781, allocations: 39.36 kB / 0.5157 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4781, allocations: 2.312 kB / 0.5157 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4781, allocations: 1.484 kB / 0.5157 GB, free: 25.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4799, allocations: 1.156 MB / 0.5168 GB, free: 25.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.48, allocations: 161.7 kB / 0.517 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.4802, allocations: 35.66 kB / 0.517 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.4805, allocations: 36.52 kB / 0.5171 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.4806, allocations: 39.2 kB / 0.5171 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4807, allocations: 15.08 kB / 0.5171 GB, free: 25.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007693/0.4815, allocations: 0.5319 MB / 0.5176 GB, free: 24.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4815, allocations: 0 / 0.5176 GB, free: 24.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002744/0.4842, allocations: 0.7609 MB / 0.5184 GB, free: 24.89 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.004536/0.4888, allocations: 2.302 MB / 0.5206 GB, free: 24.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004858/0.4936, allocations: 3 MB / 0.5236 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/0.4937, allocations: 6.141 kB / 0.5236 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007726/0.4945, allocations: 330.9 kB / 0.5239 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.4956, allocations: 195.5 kB / 0.5241 GB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.501, allocations: 3.27 MB / 0.5273 GB, free: 21.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.5019, allocations: 1.104 MB / 0.5283 GB, free: 20.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.5025, allocations: 168.1 kB / 0.5285 GB, free: 20.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004645/0.5029, allocations: 341.3 kB / 0.5288 GB, free: 20.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.104e-06/0.5029, allocations: 0 / 0.5288 GB, free: 20.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.5502, allocations: 28.15 MB / 0.5563 GB, free: 14.97 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.5504, allocations: 233.4 kB / 0.5565 GB, free: 14.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.206, allocations: 0 / 0.5565 GB, free: 14.73 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