Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_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.001245/0.001245, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008504/0.0008503, allocations: 97.83 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4632/0.4632, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.821e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.606, allocations: 99.91 MB / 0.5705 GB, free: 5.016 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6063, allocations: 63.97 kB / 0.5705 GB, free: 4.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1421/0.7485, allocations: 48.48 MB / 0.6179 GB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.7485, allocations: 0 / 0.6179 GB, free: 4.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.7487, allocations: 31.94 kB / 0.6179 GB, free: 4.434 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.003679/0.7524, allocations: 1.223 MB / 0.6191 GB, free: 3.164 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7524, allocations: 12.03 kB / 0.6191 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.7527, allocations: 74.53 kB / 0.6192 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.7531, allocations: 102.8 kB / 0.6193 GB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.755, allocations: 0.7658 MB / 0.62 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.7551, allocations: 40.78 kB / 0.6201 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.7553, allocations: 67.89 kB / 0.6201 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.7565, allocations: 0.7369 MB / 0.6209 GB, free: 1.199 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7565, allocations: 0 / 0.6209 GB, free: 1.199 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.7566, allocations: 20 kB / 0.6209 GB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.7566, allocations: 8 kB / 0.6209 GB, free: 1.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.7573, allocations: 362.9 kB / 0.6212 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.7604, allocations: 1.393 MB / 0.6226 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.7619, allocations: 0.8271 MB / 0.6234 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.7623, allocations: 276.3 kB / 0.6237 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.7624, allocations: 10.69 kB / 0.6237 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.7624, allocations: 43 kB / 0.6237 GB, free: 14.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.265e-06/0.7624, allocations: 0 / 0.6237 GB, free: 14.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001236/0.7637, allocations: 0.685 MB / 0.6244 GB, free: 13.51 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003826/0.7641, allocations: 0.6647 MB / 0.625 GB, free: 12.69 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.765, allocations: 0.728 MB / 0.6257 GB, free: 11.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.932e-05/0.7651, allocations: 53.7 kB / 0.6258 GB, free: 11.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.7654, allocations: 361.3 kB / 0.6261 GB, free: 11.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.7656, allocations: 212.9 kB / 0.6263 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.7656, allocations: 20 kB / 0.6264 GB, free: 11.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.7659, allocations: 422.7 kB / 0.6268 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/0.7667, allocations: 0.5534 MB / 0.6273 GB, free: 10.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.7678, allocations: 0.789 MB / 0.6281 GB, free: 9.449 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.7687, allocations: 0.6672 MB / 0.6287 GB, free: 8.781 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.7687, allocations: 0 / 0.6287 GB, free: 8.781 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003021/0.7718, allocations: 1.847 MB / 0.6305 GB, free: 6.895 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.7718, allocations: 4 kB / 0.6305 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.608e-05/0.7719, allocations: 23.97 kB / 0.6306 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.7733, allocations: 0.49 MB / 0.631 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.7739, allocations: 143.8 kB / 0.6312 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.7875, allocations: 16.9 MB / 0.6477 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.7883, allocations: 130.4 kB / 0.6478 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/0.7884, allocations: 39.94 kB / 0.6478 GB, free: 3.527 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): 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.0002337/0.7887, allocations: 158.4 kB / 0.648 GB, free: 3.367 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.7888, allocations: 84.28 kB / 0.6481 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.7891, allocations: 105.2 kB / 0.6482 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7891, allocations: 7.938 kB / 0.6482 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7891, allocations: 7.938 kB / 0.6482 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7891, allocations: 0 / 0.6482 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.7901, allocations: 0.6301 MB / 0.6488 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.7901, allocations: 11.98 kB / 0.6488 GB, free: 2.473 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000741/0.7909, allocations: 107.9 kB / 0.6489 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.7909, allocations: 4 kB / 0.6489 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.791, allocations: 27.97 kB / 0.6489 GB, free: 2.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.791, allocations: 4 kB / 0.649 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.791, allocations: 0 / 0.649 GB, free: 2.332 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.7925, allocations: 1.134 MB / 0.6501 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.7927, allocations: 159.8 kB / 0.6502 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7928, allocations: 31.98 kB / 0.6502 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.7932, allocations: 32.62 kB / 0.6503 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/0.7933, allocations: 36.38 kB / 0.6503 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.7933, allocations: 16 kB / 0.6503 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006835/0.794, allocations: 0.5154 MB / 0.6508 GB, free: 364 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.794, allocations: 0 / 0.6508 GB, free: 364 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.002616/0.7966, allocations: 0.8082 MB / 0.6516 GB, free: 15.54 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 () * 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.003761/0.8004, allocations: 2.317 MB / 0.6539 GB, free: 13.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.8046, allocations: 2.974 MB / 0.6568 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8046, allocations: 0 / 0.6568 GB, free: 9.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.8051, allocations: 318.3 kB / 0.6571 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009946/0.8061, allocations: 180.9 kB / 0.6573 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.8108, allocations: 2.439 MB / 0.6596 GB, free: 7.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.8116, allocations: 1.106 MB / 0.6607 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.8121, allocations: 165.2 kB / 0.6609 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004581/0.8125, allocations: 331.3 kB / 0.6612 GB, free: 5.395 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8125, allocations: 0 / 0.6612 GB, free: 5.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/1.138, allocations: 30.6 MB / 0.6911 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.139, allocations: 200.8 kB / 0.6913 GB, free: 128.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.977, allocations: 3.25 kB / 0.6913 GB, free: 128.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat