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.001132/0.001132, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008987/0.0008988, allocations: 99.75 kB / 281.6 MB, free: 5.336 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.2451/0.2451, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.119e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1613, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6484, allocations: 100.3 MB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.6487, allocations: 71.95 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1374/0.7862, allocations: 48.49 MB / 0.6401 GB, free: 11.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7862, allocations: 0 / 0.6401 GB, free: 11.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.738e-05/0.7863, allocations: 39.81 kB / 0.6401 GB, free: 11.41 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.003107/0.7894, allocations: 1.227 MB / 0.6413 GB, free: 10.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7895, allocations: 11.98 kB / 0.6413 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.7897, allocations: 110.6 kB / 0.6414 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.7912, allocations: 0.7645 MB / 0.6422 GB, free: 9.199 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.7912, allocations: 12 kB / 0.6422 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7913, allocations: 51.81 kB / 0.6423 GB, free: 9.137 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005901/0.7919, allocations: 341.3 kB / 0.6426 GB, free: 8.801 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/0.7929, allocations: 0.6847 MB / 0.6433 GB, free: 8.008 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.7929, allocations: 0 / 0.6433 GB, free: 8.008 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.793, allocations: 0 / 0.6433 GB, free: 8.008 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.793, allocations: 8 kB / 0.6433 GB, free: 8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.7955, allocations: 1.295 MB / 0.6445 GB, free: 6.664 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.7969, allocations: 0.8002 MB / 0.6453 GB, free: 5.848 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.7972, allocations: 266.2 kB / 0.6456 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.7973, allocations: 8.391 kB / 0.6456 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.7973, allocations: 39 kB / 0.6456 GB, free: 5.527 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.514e-06/0.7974, allocations: 0 / 0.6456 GB, free: 5.527 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001108/0.7985, allocations: 0.6654 MB / 0.6463 GB, free: 4.859 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000379/0.7989, allocations: 0.6726 MB / 0.6469 GB, free: 4.027 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/0.7997, allocations: 0.6811 MB / 0.6476 GB, free: 3.324 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.7998, allocations: 25.7 kB / 0.6476 GB, free: 3.293 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.8002, allocations: 353.3 kB / 0.6479 GB, free: 2.941 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.8004, allocations: 208.9 kB / 0.6481 GB, free: 2.734 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.8004, allocations: 0 / 0.6481 GB, free: 2.734 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.8006, allocations: 418.7 kB / 0.6485 GB, free: 2.316 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007522/0.8014, allocations: 0.5382 MB / 0.6491 GB, free: 1.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.8023, allocations: 0.7666 MB / 0.6498 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.8035, allocations: 0.6506 MB / 0.6504 GB, free: 292 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8035, allocations: 7.938 kB / 0.6505 GB, free: 284 kB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003099/0.8066, allocations: 1.786 MB / 0.6522 GB, free: 14.45 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.8067, allocations: 9.047 kB / 0.6522 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.596e-05/0.8067, allocations: 23.97 kB / 0.6522 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.808, allocations: 473.8 kB / 0.6527 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.8086, allocations: 147.8 kB / 0.6528 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8086, allocations: 4 kB / 0.6528 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.8092, allocations: 114.4 kB / 0.6529 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/0.8093, allocations: 35.98 kB / 0.653 GB, free: 13.62 MB / 474.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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000213/0.8095, allocations: 120.9 kB / 0.6531 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009384/0.8104, allocations: 0.6614 MB / 0.6537 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.8106, allocations: 94.77 kB / 0.6538 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.8108, allocations: 89.19 kB / 0.6539 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.8109, allocations: 11.94 kB / 0.6539 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.8109, allocations: 4 kB / 0.6539 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8109, allocations: 3.984 kB / 0.6539 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.8117, allocations: 0.5605 MB / 0.6545 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8117, allocations: 0 / 0.6545 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.8124, allocations: 103.9 kB / 0.6546 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.8124, allocations: 7.953 kB / 0.6546 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/0.8125, allocations: 27.97 kB / 0.6546 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.8125, allocations: 0 / 0.6546 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8125, allocations: 4 kB / 0.6546 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.814, allocations: 1.095 MB / 0.6557 GB, free: 10.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.8141, allocations: 159.8 kB / 0.6558 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.8142, allocations: 27.92 kB / 0.6559 GB, free: 10.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.8146, allocations: 19.97 kB / 0.6559 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.878e-05/0.8147, allocations: 32.39 kB / 0.6559 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.8147, allocations: 12 kB / 0.6559 GB, free: 10.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005956/0.8153, allocations: 491.6 kB / 0.6564 GB, free: 10 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8153, allocations: 0 / 0.6564 GB, free: 10 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002755/0.8181, allocations: 0.7612 MB / 0.6571 GB, free: 9.242 MB / 474.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.003842/0.822, allocations: 2.267 MB / 0.6593 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.825, allocations: 2.565 MB / 0.6618 GB, free: 4.051 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.825, allocations: 0 / 0.6618 GB, free: 4.051 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.8255, allocations: 313.4 kB / 0.6621 GB, free: 3.742 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.8266, allocations: 177.4 kB / 0.6623 GB, free: 3.566 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.8312, allocations: 2.369 MB / 0.6646 GB, free: 1.152 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.8319, allocations: 1.09 MB / 0.6657 GB, free: 32 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005261/0.8324, allocations: 169.2 kB / 0.6659 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.8329, allocations: 339.3 kB / 0.6662 GB, free: 15.53 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.8329, allocations: 0 / 0.6662 GB, free: 15.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06402/0.8969, allocations: 26.3 MB / 0.6919 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.8972, allocations: 157.9 kB / 0.692 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.794/3.691, allocations: 0 / 0.692 GB, free: 5.105 MB / 0.4948 GB (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