Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008021/0.0008022, allocations: 88.89 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2951/0.2951, allocations: 44.23 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3187, allocations: 61.9 MB / 0.5096 GB, free: 37.74 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.4439, allocations: 101 MB / 0.6083 GB, free: 9.969 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4442, allocations: 83.92 kB / 0.6084 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.5817, allocations: 48.77 MB / 0.656 GB, free: 9.035 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5817, allocations: 0 / 0.656 GB, free: 9.035 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001701/0.5819, allocations: 39.88 kB / 0.656 GB, free: 8.996 MB / 474.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.004897/0.5868, allocations: 1.378 MB / 0.6574 GB, free: 7.562 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5869, allocations: 8.031 kB / 0.6574 GB, free: 7.555 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003006/0.5872, allocations: 86.53 kB / 0.6575 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.5877, allocations: 110.6 kB / 0.6576 GB, free: 7.352 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.5898, allocations: 0.7683 MB / 0.6583 GB, free: 6.527 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.5899, allocations: 40.94 kB / 0.6584 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.5901, allocations: 75.8 kB / 0.6584 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.5915, allocations: 0.7523 MB / 0.6592 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5915, allocations: 3.938 kB / 0.6592 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.5916, allocations: 16 kB / 0.6592 GB, free: 5.531 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.5916, allocations: 8 kB / 0.6592 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.5923, allocations: 379.7 kB / 0.6596 GB, free: 5.152 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.5956, allocations: 1.383 MB / 0.6609 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.5972, allocations: 0.8444 MB / 0.6617 GB, free: 2.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.5972, allocations: 12.44 kB / 0.6617 GB, free: 2.848 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.5973, allocations: 46.98 kB / 0.6618 GB, free: 2.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.5973, allocations: 0 / 0.6618 GB, free: 2.793 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.001753/0.5991, allocations: 0.9771 MB / 0.6627 GB, free: 1.816 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003527/0.5994, allocations: 0.663 MB / 0.6634 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6005, allocations: 0.7395 MB / 0.6641 GB, free: 240 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6007, allocations: 45.7 kB / 0.6641 GB, free: 188 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.601, allocations: 357.4 kB / 0.6645 GB, free: 15.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.6013, allocations: 216.8 kB / 0.6647 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.6013, allocations: 20 kB / 0.6647 GB, free: 15.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.6016, allocations: 418.7 kB / 0.6651 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009969/0.6026, allocations: 0.5651 MB / 0.6657 GB, free: 14.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.6038, allocations: 0.8066 MB / 0.6665 GB, free: 13.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6049, allocations: 0.6775 MB / 0.6671 GB, free: 13.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6049, allocations: 4 kB / 0.6671 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003199/0.6081, allocations: 1.874 MB / 0.669 GB, free: 11.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.6082, allocations: 8 kB / 0.669 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.979e-05/0.6083, allocations: 23.97 kB / 0.669 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.6097, allocations: 0.49 MB / 0.6695 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.6104, allocations: 143.8 kB / 0.6696 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2592/0.8696, allocations: 17.03 MB / 0.6862 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007381/0.8704, allocations: 137.6 kB / 0.6864 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.8705, allocations: 35.92 kB / 0.6864 GB, free: 104 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 () * 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.0004896/0.871, allocations: 285.3 kB / 0.6867 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.8711, allocations: 88.62 kB / 0.6868 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.8713, allocations: 104.6 kB / 0.6869 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.8713, allocations: 7.281 kB / 0.6869 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8713, allocations: 0 / 0.6869 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8713, allocations: 3.188 kB / 0.6869 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.872, allocations: 0.6348 MB / 0.6875 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.872, allocations: 0 / 0.6875 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.8727, allocations: 110.8 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8727, allocations: 3 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.8728, allocations: 38.03 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.8728, allocations: 4.531 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8728, allocations: 3.328 kB / 0.6876 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.8741, allocations: 1.158 MB / 0.6888 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8742, allocations: 163.8 kB / 0.6889 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.8744, allocations: 34.98 kB / 0.689 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.8747, allocations: 36.12 kB / 0.689 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.8748, allocations: 31.48 kB / 0.689 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.8748, allocations: 14.44 kB / 0.689 GB, free: 103.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005127/0.8753, allocations: 0.5269 MB / 0.6895 GB, free: 103.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8753, allocations: 0 / 0.6895 GB, free: 103.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002776/0.8781, allocations: 0.8066 MB / 0.6903 GB, free: 103.3 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 () * 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.003332/0.8815, allocations: 2.351 MB / 0.6926 GB, free: 102.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003552/0.885, allocations: 3.005 MB / 0.6956 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8851, allocations: 0 / 0.6956 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.8855, allocations: 328.9 kB / 0.6959 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.8863, allocations: 184.4 kB / 0.6961 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.8908, allocations: 3.314 MB / 0.6993 GB, free: 99.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005678/0.8914, allocations: 1.106 MB / 0.7004 GB, free: 98.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004536/0.8918, allocations: 168.3 kB / 0.7005 GB, free: 98.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.8922, allocations: 334.5 kB / 0.7009 GB, free: 98.76 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/0.8922, allocations: 0 / 0.7009 GB, free: 98.76 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.9457, allocations: 27.89 MB / 0.7281 GB, free: 97.56 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.9459, allocations: 230.6 kB / 0.7283 GB, free: 97.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.749/3.694, allocations: 0 / 0.7283 GB, free: 97.33 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat