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.0009948/0.000995, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.5/1.5, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008709/0.0008705, allocations: 87.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2192/0.2192, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.969e-05/2.985e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.6185, allocations: 100.9 MB / 0.6004 GB, free: 4.297 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6189, allocations: 71.97 kB / 0.6004 GB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1399/0.7588, allocations: 48.68 MB / 0.648 GB, free: 3.477 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7588, allocations: 0 / 0.648 GB, free: 3.477 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.759, allocations: 39.88 kB / 0.648 GB, free: 3.438 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.003799/0.7628, allocations: 1.223 MB / 0.6492 GB, free: 2.164 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.7629, allocations: 8.031 kB / 0.6492 GB, free: 2.156 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001306/0.763, allocations: 74.53 kB / 0.6493 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.7633, allocations: 110.6 kB / 0.6494 GB, free: 1.965 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.7649, allocations: 0.7645 MB / 0.6501 GB, free: 1.145 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.765, allocations: 40.78 kB / 0.6502 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7651, allocations: 71.81 kB / 0.6502 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.7662, allocations: 0.7288 MB / 0.651 GB, free: 200 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.7663, allocations: 0 / 0.651 GB, free: 200 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.7663, allocations: 20 kB / 0.651 GB, free: 180 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.7664, allocations: 8 kB / 0.651 GB, free: 172 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.7669, allocations: 362.9 kB / 0.6513 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002737/0.7697, allocations: 1.374 MB / 0.6527 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.7712, allocations: 0.8297 MB / 0.6535 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.7716, allocations: 286 kB / 0.6538 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.7717, allocations: 8.438 kB / 0.6538 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.7717, allocations: 47 kB / 0.6538 GB, free: 13.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.7717, allocations: 0 / 0.6538 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.001205/0.7729, allocations: 0.6888 MB / 0.6545 GB, free: 12.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003489/0.7733, allocations: 0.6669 MB / 0.6551 GB, free: 11.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00095/0.7743, allocations: 0.728 MB / 0.6558 GB, free: 10.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.262e-05/0.7743, allocations: 45.7 kB / 0.6559 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.7747, allocations: 361.3 kB / 0.6562 GB, free: 10.52 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.7749, allocations: 216.9 kB / 0.6564 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.775, allocations: 20 kB / 0.6565 GB, free: 10.29 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002502/0.7752, allocations: 418.7 kB / 0.6569 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008562/0.7761, allocations: 0.5496 MB / 0.6574 GB, free: 9.312 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.7771, allocations: 0.799 MB / 0.6582 GB, free: 8.438 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.7781, allocations: 0.6673 MB / 0.6588 GB, free: 7.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7781, allocations: 0 / 0.6588 GB, free: 7.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003105/0.7812, allocations: 1.851 MB / 0.6606 GB, free: 5.879 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.7813, allocations: 4 kB / 0.6606 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-05/0.7813, allocations: 23.97 kB / 0.6607 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.7827, allocations: 0.4978 MB / 0.6611 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.7833, allocations: 135.9 kB / 0.6613 GB, free: 5.184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01361/0.797, allocations: 16.91 MB / 0.6778 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.7978, allocations: 134.3 kB / 0.6779 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.798, allocations: 40.16 kB / 0.6779 GB, free: 2.5 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.0002576/0.7982, allocations: 162.1 kB / 0.6781 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.7984, allocations: 90.83 kB / 0.6782 GB, free: 2.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.7987, allocations: 101.2 kB / 0.6783 GB, free: 2.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.7987, allocations: 4 kB / 0.6783 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7987, allocations: 0 / 0.6783 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.7987, allocations: 3.984 kB / 0.6783 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008622/0.7996, allocations: 0.6379 MB / 0.6789 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7996, allocations: 0 / 0.6789 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.8003, allocations: 111.8 kB / 0.679 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8003, allocations: 0 / 0.679 GB, free: 1.344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-05/0.8004, allocations: 35.97 kB / 0.6791 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8004, allocations: 0 / 0.6791 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8004, allocations: 0 / 0.6791 GB, free: 1.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.802, allocations: 1.13 MB / 0.6802 GB, free: 160 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.8022, allocations: 155.9 kB / 0.6803 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.8023, allocations: 39.92 kB / 0.6803 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.8026, allocations: 35.91 kB / 0.6804 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.8027, allocations: 36.39 kB / 0.6804 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.8028, allocations: 12 kB / 0.6804 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007079/0.8035, allocations: 0.5232 MB / 0.6809 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8035, allocations: 0 / 0.6809 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002901/0.8064, allocations: 0.8004 MB / 0.6817 GB, free: 14.52 MB / 0.4948 GB 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.004004/0.8104, allocations: 2.323 MB / 0.684 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004341/0.8148, allocations: 2.953 MB / 0.6869 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.8148, allocations: 4 kB / 0.6869 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.8153, allocations: 322.3 kB / 0.6872 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009658/0.8163, allocations: 182.4 kB / 0.6874 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.821, allocations: 2.446 MB / 0.6897 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/0.8217, allocations: 1.11 MB / 0.6908 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000496/0.8222, allocations: 161.2 kB / 0.691 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.8227, allocations: 335.3 kB / 0.6913 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of SimCode: time 1.703e-06/0.8227, allocations: 0 / 0.6913 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3614/1.184, allocations: 30.61 MB / 0.7212 GB, free: 151 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/1.184, allocations: 200 kB / 0.7214 GB, free: 150.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.017, allocations: 0 / 0.7214 GB, free: 150.8 MB / 0.5105 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