Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001505/0.001505, allocations: 181.8 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 86.41 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2992/0.2992, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.426e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4167, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.606, allocations: 99.25 MB / 0.5629 GB, free: 15.92 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.6064, allocations: 71.97 kB / 0.563 GB, free: 15.85 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.8486, allocations: 48.28 MB / 0.6101 GB, free: 15.49 MB / 459.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8486, allocations: 0 / 0.6101 GB, free: 15.49 MB / 459.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.8488, allocations: 35.88 kB / 0.6102 GB, free: 15.45 MB / 459.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.004954/0.8538, allocations: 1.215 MB / 0.6114 GB, free: 14.19 MB / 459.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.8538, allocations: 15.97 kB / 0.6114 GB, free: 14.18 MB / 459.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/0.8545, allocations: 102.8 kB / 0.6115 GB, free: 14.07 MB / 459.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.8572, allocations: 0.7644 MB / 0.6122 GB, free: 13.25 MB / 459.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.8573, allocations: 12 kB / 0.6122 GB, free: 13.24 MB / 459.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.8576, allocations: 47.81 kB / 0.6123 GB, free: 13.2 MB / 459.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001038/0.8586, allocations: 341.4 kB / 0.6126 GB, free: 12.86 MB / 459.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.8602, allocations: 0.6881 MB / 0.6133 GB, free: 12.06 MB / 459.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.8602, allocations: 0 / 0.6133 GB, free: 12.06 MB / 459.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.8603, allocations: 3.938 kB / 0.6133 GB, free: 12.06 MB / 459.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.8603, allocations: 8 kB / 0.6133 GB, free: 12.05 MB / 459.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.8652, allocations: 1.287 MB / 0.6145 GB, free: 10.73 MB / 459.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.8676, allocations: 0.7868 MB / 0.6153 GB, free: 9.922 MB / 459.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006682/0.8683, allocations: 266 kB / 0.6156 GB, free: 9.66 MB / 459.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.8684, allocations: 4.438 kB / 0.6156 GB, free: 9.656 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/0.8685, allocations: 49.17 kB / 0.6156 GB, free: 9.602 MB / 459.1 MB Notification: Performance of pre-optimization done (n=53): time 3.787e-06/0.8685, allocations: 4 kB / 0.6156 GB, free: 9.598 MB / 459.1 MB Notification: Performance of matching and sorting (n=53): time 0.00196/0.8705, allocations: 0.6615 MB / 0.6163 GB, free: 8.926 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000428/0.8709, allocations: 0.6724 MB / 0.6169 GB, free: 8.094 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.8724, allocations: 0.6849 MB / 0.6176 GB, free: 7.387 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002795/0.8727, allocations: 25.7 kB / 0.6176 GB, free: 7.355 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/0.8732, allocations: 367.8 kB / 0.618 GB, free: 6.992 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.8735, allocations: 212.9 kB / 0.6182 GB, free: 6.781 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.8736, allocations: 0 / 0.6182 GB, free: 6.781 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.8738, allocations: 370.8 kB / 0.6185 GB, free: 6.41 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.8752, allocations: 0.5343 MB / 0.619 GB, free: 5.875 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.8772, allocations: 0.7704 MB / 0.6198 GB, free: 5.031 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.8792, allocations: 0.6518 MB / 0.6204 GB, free: 4.383 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.8793, allocations: 4 kB / 0.6204 GB, free: 4.379 MB / 459.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005335/0.8846, allocations: 1.736 MB / 0.6221 GB, free: 2.598 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.8847, allocations: 4 kB / 0.6221 GB, free: 2.594 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/0.8849, allocations: 27.97 kB / 0.6222 GB, free: 2.566 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.8874, allocations: 477.8 kB / 0.6226 GB, free: 2.062 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.8887, allocations: 135.9 kB / 0.6227 GB, free: 1.93 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.8887, allocations: 7.938 kB / 0.6228 GB, free: 1.922 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.8898, allocations: 110.5 kB / 0.6229 GB, free: 1.812 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.8899, allocations: 35.94 kB / 0.6229 GB, free: 1.777 MB / 459.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 () * 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.0003029/0.8903, allocations: 135.9 kB / 0.623 GB, free: 1.641 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001838/0.8921, allocations: 0.6537 MB / 0.6237 GB, free: 0.9844 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.8924, allocations: 94.77 kB / 0.6238 GB, free: 0.8906 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.8927, allocations: 97.19 kB / 0.6238 GB, free: 0.793 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.8927, allocations: 4 kB / 0.6239 GB, free: 0.7891 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.8928, allocations: 0 / 0.6239 GB, free: 0.7891 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.8928, allocations: 0 / 0.6239 GB, free: 0.7891 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.894, allocations: 0.5721 MB / 0.6244 GB, free: 184 kB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.894, allocations: 4 kB / 0.6244 GB, free: 180 kB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.8957, allocations: 107.8 kB / 0.6245 GB, free: 72 kB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/0.8957, allocations: 4 kB / 0.6245 GB, free: 68 kB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.8958, allocations: 27.97 kB / 0.6245 GB, free: 40 kB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.8959, allocations: 7.938 kB / 0.6246 GB, free: 32 kB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.8959, allocations: 4 kB / 0.6246 GB, free: 28 kB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.8985, allocations: 1.083 MB / 0.6256 GB, free: 14.92 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.8988, allocations: 163.8 kB / 0.6258 GB, free: 14.74 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/0.8991, allocations: 19.98 kB / 0.6258 GB, free: 14.72 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006905/0.8998, allocations: 23.95 kB / 0.6258 GB, free: 14.7 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8999, allocations: 32.39 kB / 0.6258 GB, free: 14.67 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.9, allocations: 12 kB / 0.6259 GB, free: 14.66 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.001032/0.9011, allocations: 495.6 kB / 0.6263 GB, free: 14.16 MB / 475.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9011, allocations: 0 / 0.6263 GB, free: 14.16 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.003797/0.9049, allocations: 0.7534 MB / 0.6271 GB, free: 13.41 MB / 475.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 () * 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.006157/0.9111, allocations: 2.28 MB / 0.6293 GB, free: 11.1 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.005118/0.9162, allocations: 2.569 MB / 0.6318 GB, free: 8.18 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.9163, allocations: 0 / 0.6318 GB, free: 8.18 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.9172, allocations: 317.4 kB / 0.6321 GB, free: 7.871 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.9188, allocations: 170.7 kB / 0.6323 GB, free: 7.703 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/0.9259, allocations: 2.441 MB / 0.6346 GB, free: 5.211 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.9271, allocations: 1.094 MB / 0.6357 GB, free: 4.086 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008834/0.928, allocations: 335.3 kB / 0.636 GB, free: 3.758 MB / 475.1 MB Notification: Performance of SimCode: time 1.173e-06/0.928, allocations: 3.938 kB / 0.636 GB, free: 3.754 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.33/5.258, allocations: 35.08 MB / 0.6703 GB, free: 123.5 MB / 475.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat