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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.002568/0.002568, allocations: 201.7 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 89.95 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.639e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1012, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5631, allocations: 101.3 MB / 0.6034 GB, free: 1.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5634, allocations: 74.66 kB / 0.6035 GB, free: 1.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1343/0.6977, allocations: 48.61 MB / 0.6509 GB, free: 7.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6978, allocations: 4 kB / 0.651 GB, free: 7.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.854e-05/0.6979, allocations: 43.81 kB / 0.651 GB, free: 7.133 MB / 442.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.002996/0.7009, allocations: 1.222 MB / 0.6522 GB, free: 5.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.701, allocations: 8.031 kB / 0.6522 GB, free: 5.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.7012, allocations: 106.7 kB / 0.6523 GB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.7026, allocations: 0.7615 MB / 0.653 GB, free: 5.094 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.7026, allocations: 12 kB / 0.6531 GB, free: 5.082 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.7027, allocations: 51.69 kB / 0.6531 GB, free: 5.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005517/0.7033, allocations: 344.4 kB / 0.6534 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008601/0.7042, allocations: 0.6853 MB / 0.6541 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.7042, allocations: 4 kB / 0.6541 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.7042, allocations: 0 / 0.6541 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.7042, allocations: 8 kB / 0.6541 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.7066, allocations: 1.299 MB / 0.6554 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.7078, allocations: 0.7822 MB / 0.6561 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.7082, allocations: 268.8 kB / 0.6564 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.7082, allocations: 4.438 kB / 0.6564 GB, free: 2.246 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.7083, allocations: 47.42 kB / 0.6564 GB, free: 2.195 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 2.514e-06/0.7083, allocations: 11.88 kB / 0.6565 GB, free: 2.184 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.001118/0.7094, allocations: 0.6592 MB / 0.6571 GB, free: 1.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003439/0.7098, allocations: 0.664 MB / 0.6578 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008402/0.7106, allocations: 0.6884 MB / 0.6584 GB, free: 292 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.7107, allocations: 25.7 kB / 0.6585 GB, free: 260 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.711, allocations: 354.2 kB / 0.6588 GB, free: 52 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.7112, allocations: 206.9 kB / 0.659 GB, free: 15.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.7112, allocations: 4 kB / 0.659 GB, free: 15.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.7114, allocations: 415.1 kB / 0.6594 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.7121, allocations: 0.5471 MB / 0.6599 GB, free: 15.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/0.713, allocations: 0.7643 MB / 0.6607 GB, free: 14.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7141, allocations: 0.6536 MB / 0.6613 GB, free: 14.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7141, allocations: 0 / 0.6613 GB, free: 14.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003129/0.7172, allocations: 1.784 MB / 0.663 GB, free: 12.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7173, allocations: 4 kB / 0.663 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-05/0.7173, allocations: 27.97 kB / 0.6631 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.7186, allocations: 469.8 kB / 0.6635 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.7193, allocations: 135.9 kB / 0.6637 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7193, allocations: 7.938 kB / 0.6637 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.7198, allocations: 114.5 kB / 0.6638 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.72, allocations: 35.98 kB / 0.6638 GB, free: 11.47 MB / 458.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.0002128/0.7202, allocations: 128.8 kB / 0.6639 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001068/0.7212, allocations: 0.6615 MB / 0.6646 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7214, allocations: 90.78 kB / 0.6647 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.7217, allocations: 93.19 kB / 0.6647 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7217, allocations: 4 kB / 0.6648 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7217, allocations: 0 / 0.6648 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7217, allocations: 3.984 kB / 0.6648 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008141/0.7225, allocations: 0.5721 MB / 0.6653 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7225, allocations: 0 / 0.6653 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.7233, allocations: 103.8 kB / 0.6654 GB, free: 9.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.7233, allocations: 4 kB / 0.6654 GB, free: 9.758 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.7234, allocations: 31.97 kB / 0.6654 GB, free: 9.727 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.7234, allocations: 4 kB / 0.6655 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7234, allocations: 0 / 0.6655 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.7249, allocations: 1.091 MB / 0.6665 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.7251, allocations: 159.8 kB / 0.6667 GB, free: 8.438 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.7252, allocations: 27.97 kB / 0.6667 GB, free: 8.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.7256, allocations: 19.97 kB / 0.6667 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.7257, allocations: 32.39 kB / 0.6667 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.7257, allocations: 12 kB / 0.6668 GB, free: 8.348 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006074/0.7263, allocations: 495.6 kB / 0.6672 GB, free: 7.852 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7263, allocations: 3.938 kB / 0.6672 GB, free: 7.848 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003076/0.7294, allocations: 0.7612 MB / 0.668 GB, free: 7.086 MB / 458.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.006522/0.736, allocations: 2.289 MB / 0.6702 GB, free: 4.777 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004738/0.7408, allocations: 2.569 MB / 0.6727 GB, free: 1.867 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.7408, allocations: 0 / 0.6727 GB, free: 1.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.7417, allocations: 313.4 kB / 0.673 GB, free: 1.559 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7431, allocations: 173.5 kB / 0.6732 GB, free: 1.391 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.7503, allocations: 2.361 MB / 0.6755 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.7515, allocations: 1.113 MB / 0.6766 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008596/0.7523, allocations: 161.2 kB / 0.6767 GB, free: 13.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.7531, allocations: 331.3 kB / 0.677 GB, free: 13.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7531, allocations: 0 / 0.677 GB, free: 13.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/0.8375, allocations: 26.39 MB / 0.7028 GB, free: 2.996 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002864/0.8379, allocations: 165.9 kB / 0.703 GB, free: 2.793 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.692, allocations: 3.375 kB / 0.703 GB, free: 2.793 MB / 490.7 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