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.001299/0.001299, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00089/0.0008899, allocations: 102.7 kB / 297.3 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3834/0.3834, allocations: 45.21 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002804, allocations: 12.22 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4209, allocations: 63.25 MB / 0.5193 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1756/0.5966, allocations: 102.1 MB / 0.6189 GB, free: 1.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5969, allocations: 75.94 kB / 0.619 GB, free: 1.246 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1881/0.785, allocations: 48.93 MB / 0.6668 GB, free: 232 kB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7851, allocations: 0 / 0.6668 GB, free: 232 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001342/0.7852, allocations: 35.94 kB / 0.6668 GB, free: 196 kB / 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.005247/0.7905, allocations: 1.39 MB / 0.6682 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/0.7906, allocations: 8.031 kB / 0.6682 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.7908, allocations: 78.53 kB / 0.6683 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.7911, allocations: 106.7 kB / 0.6684 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002263/0.7934, allocations: 0.7683 MB / 0.6691 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.7935, allocations: 37 kB / 0.6691 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.7937, allocations: 75.8 kB / 0.6692 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7954, allocations: 0.744 MB / 0.6699 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7954, allocations: 4 kB / 0.67 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.7955, allocations: 20 kB / 0.67 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.7955, allocations: 11.94 kB / 0.67 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.7965, allocations: 383.7 kB / 0.6703 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003927/0.8005, allocations: 1.386 MB / 0.6717 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.8026, allocations: 0.8349 MB / 0.6725 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.8027, allocations: 6.672 kB / 0.6725 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.8028, allocations: 47 kB / 0.6726 GB, free: 10 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 4.067e-06/0.8028, allocations: 4 kB / 0.6726 GB, free: 10 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.002387/0.8052, allocations: 0.9732 MB / 0.6735 GB, free: 9.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004115/0.8056, allocations: 0.6648 MB / 0.6742 GB, free: 8.195 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.8069, allocations: 0.7317 MB / 0.6749 GB, free: 7.441 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.8071, allocations: 49.7 kB / 0.6749 GB, free: 7.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/0.8075, allocations: 361.3 kB / 0.6753 GB, free: 7.027 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.8077, allocations: 224.8 kB / 0.6755 GB, free: 6.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.219e-05/0.8078, allocations: 16 kB / 0.6755 GB, free: 6.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.8081, allocations: 422.7 kB / 0.6759 GB, free: 6.367 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.8094, allocations: 0.5651 MB / 0.6765 GB, free: 5.797 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.8109, allocations: 0.8028 MB / 0.6772 GB, free: 4.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.8124, allocations: 0.6776 MB / 0.6779 GB, free: 4.242 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8124, allocations: 0 / 0.6779 GB, free: 4.242 MB / 490.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004611/0.8171, allocations: 1.863 MB / 0.6797 GB, free: 2.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.8171, allocations: 18.73 kB / 0.6797 GB, free: 2.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.8173, allocations: 23.92 kB / 0.6798 GB, free: 2.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.8192, allocations: 0.4978 MB / 0.6803 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.8201, allocations: 139.8 kB / 0.6804 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3238/1.144, allocations: 17.05 MB / 0.697 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.145, allocations: 132.4 kB / 0.6972 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/1.145, allocations: 37.28 kB / 0.6972 GB, free: 98.77 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.0007703/1.146, allocations: 282.1 kB / 0.6975 GB, free: 98.65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/1.146, allocations: 86.38 kB / 0.6976 GB, free: 98.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/1.147, allocations: 101.8 kB / 0.6977 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.147, allocations: 5.781 kB / 0.6977 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.147, allocations: 0 / 0.6977 GB, free: 98.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/1.147, allocations: 10.39 kB / 0.6977 GB, free: 98.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/1.148, allocations: 0.6303 MB / 0.6983 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.148, allocations: 3.656 kB / 0.6983 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/1.148, allocations: 115.5 kB / 0.6984 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.148, allocations: 2.938 kB / 0.6984 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/1.148, allocations: 28 kB / 0.6984 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/1.148, allocations: 2.75 kB / 0.6984 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/1.148, allocations: 0 / 0.6984 GB, free: 98.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/1.15, allocations: 1.165 MB / 0.6996 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.15, allocations: 160.4 kB / 0.6997 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/1.15, allocations: 37.81 kB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.15, allocations: 31.53 kB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/1.151, allocations: 34.42 kB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/1.151, allocations: 10.84 kB / 0.6998 GB, free: 98.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005629/1.151, allocations: 0.536 MB / 0.7004 GB, free: 97.99 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.151, allocations: 0 / 0.7004 GB, free: 97.99 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00272/1.154, allocations: 0.8072 MB / 0.7011 GB, free: 97.99 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.003682/1.158, allocations: 2.357 MB / 0.7034 GB, free: 97.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00388/1.161, allocations: 2.997 MB / 0.7064 GB, free: 95.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/1.161, allocations: 0 / 0.7064 GB, free: 95.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004833/1.162, allocations: 336.1 kB / 0.7067 GB, free: 95.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/1.163, allocations: 192.5 kB / 0.7069 GB, free: 95.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/1.167, allocations: 3.32 MB / 0.7101 GB, free: 94.19 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005576/1.168, allocations: 1.109 MB / 0.7112 GB, free: 93.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004676/1.168, allocations: 161.5 kB / 0.7114 GB, free: 93.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.169, allocations: 330.5 kB / 0.7117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/1.169, allocations: 0 / 0.7117 GB, free: 93.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05802/1.227, allocations: 27.98 MB / 0.739 GB, free: 92.08 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/1.227, allocations: 226.8 kB / 0.7392 GB, free: 91.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/4.092, allocations: 0 / 0.7392 GB, free: 91.84 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