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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009777, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009316, allocations: 175.1 kB / 16.56 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 222.7 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3479/0.3479, allocations: 43.55 MB / 314.5 MB, free: 8.895 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004712, allocations: 16 kB / 384 MB, free: 8.223 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 58.86 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002702/0.1091, allocations: 2.223 MB / 445.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007301/0.1164, allocations: 4.244 MB / 449.3 MB, free: 6.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.1167, allocations: 15.81 kB / 449.3 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00091/0.1176, allocations: 426.6 kB / 449.7 MB, free: 6.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.1178, allocations: 99.53 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005155/0.123, allocations: 2.103 MB / 451.9 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.124, allocations: 0.7762 MB / 452.7 MB, free: 3.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1242, allocations: 73.73 kB / 452.8 MB, free: 3.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.1249, allocations: 422.7 kB / 453.2 MB, free: 2.867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.1255, allocations: 358.5 kB / 453.6 MB, free: 2.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.299e-05/0.1256, allocations: 28 kB / 453.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.1277, allocations: 1.354 MB / 454.9 MB, free: 1.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.128, allocations: 271.2 kB / 455.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1281, allocations: 153.2 kB / 455.4 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1859/0.314, allocations: 1.869 MB / 457.2 MB, free: 38.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.314, allocations: 0 / 457.2 MB, free: 38.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.314, allocations: 0 / 457.2 MB, free: 38.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.3141, allocations: 0 / 457.2 MB, free: 38.69 MB / 382.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.002401/0.3165, allocations: 1.313 MB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3165, allocations: 13.23 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.3167, allocations: 75.73 kB / 458.6 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.3169, allocations: 106.7 kB / 458.7 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.3177, allocations: 0.5453 MB / 459.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.3177, allocations: 38.47 kB / 459.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.3179, allocations: 71.06 kB / 459.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007991/0.3187, allocations: 0.6961 MB / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3187, allocations: 0 / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.3187, allocations: 17.44 kB / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3188, allocations: 11.03 kB / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.3193, allocations: 370.6 kB / 460.5 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.3214, allocations: 1.363 MB / 461.8 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.3225, allocations: 0.8503 MB / 462.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.3226, allocations: 6.5 kB / 462.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3226, allocations: 43.78 kB / 462.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.3226, allocations: 0 / 462.7 MB, free: 36.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001201/0.3238, allocations: 0.9709 MB / 463.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3239, allocations: 0.6707 MB / 464.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/0.3246, allocations: 0.838 MB / 465.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.451e-05/0.3247, allocations: 47.25 kB / 465.2 MB, free: 35.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.3249, allocations: 357.5 kB / 465.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.325, allocations: 219.2 kB / 465.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3251, allocations: 19.19 kB / 465.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.3252, allocations: 420.2 kB / 466.2 MB, free: 35.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.3258, allocations: 0.5834 MB / 466.8 MB, free: 35.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.3266, allocations: 0.8255 MB / 467.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.3273, allocations: 0.6951 MB / 468.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3273, allocations: 0 / 468.3 MB, free: 35.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00224/0.3295, allocations: 1.922 MB / 470.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3296, allocations: 10.25 kB / 470.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.3296, allocations: 13.05 kB / 470.3 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3307, allocations: 0.4939 MB / 470.8 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.3312, allocations: 143 kB / 470.9 MB, free: 34.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008145/0.3394, allocations: 17.05 MB / 488 MB, free: 19.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006511/0.34, allocations: 134.3 kB / 488.1 MB, free: 19.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.3401, allocations: 25.78 kB / 488.1 MB, free: 19.52 MB / 382.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 () * 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.0004339/0.3405, allocations: 282 kB / 488.4 MB, free: 19.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3407, allocations: 98.55 kB / 488.5 MB, free: 19.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.3408, allocations: 97.58 kB / 488.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3408, allocations: 6.531 kB / 488.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3409, allocations: 0 / 488.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3409, allocations: 3.328 kB / 488.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.3415, allocations: 0.6335 MB / 489.2 MB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3415, allocations: 2.609 kB / 489.2 MB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.3421, allocations: 109 kB / 489.4 MB, free: 19.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3421, allocations: 7.234 kB / 489.4 MB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.3422, allocations: 32.33 kB / 489.4 MB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3422, allocations: 3.375 kB / 489.4 MB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3422, allocations: 4.312 kB / 489.4 MB, free: 19.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.3435, allocations: 1.161 MB / 490.6 MB, free: 18.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.3436, allocations: 155.9 kB / 490.7 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.837e-05/0.3438, allocations: 37.92 kB / 490.7 MB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.3441, allocations: 34.92 kB / 490.8 MB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.3442, allocations: 29.12 kB / 490.8 MB, free: 18.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3442, allocations: 15.03 kB / 490.8 MB, free: 18.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000474/0.3447, allocations: 0.5312 MB / 491.4 MB, free: 18.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3447, allocations: 0.6562 kB / 491.4 MB, free: 18.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001912/0.3466, allocations: 0.7624 MB / 492.1 MB, free: 18.54 MB / 382.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 () * 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.002703/0.3493, allocations: 2.301 MB / 494.4 MB, free: 33.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003253/0.3526, allocations: 3.005 MB / 497.4 MB, free: 31.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3526, allocations: 4.031 kB / 497.4 MB, free: 31.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.353, allocations: 333.7 kB / 497.8 MB, free: 31.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/0.3538, allocations: 184.5 kB / 497.9 MB, free: 31.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.3573, allocations: 3.272 MB / 0.4895 GB, free: 29.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.358, allocations: 1.11 MB / 0.4905 GB, free: 28.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000399/0.3584, allocations: 160.2 kB / 0.4907 GB, free: 28.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.3588, allocations: 335.2 kB / 0.491 GB, free: 28.6 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3588, allocations: 0 / 0.491 GB, free: 28.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2758/0.6346, allocations: 28.04 MB / 0.5184 GB, free: 15.43 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002283/0.6349, allocations: 231 kB / 0.5186 GB, free: 15.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.406, allocations: 0 / 0.5186 GB, free: 15.19 MB / 398.1 MB (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) Environment - environmentSimulation: 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