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.0008992/0.0008989, allocations: 88.19 kB / 15.7 MB, free: 460 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.001075/0.001075, allocations: 175.4 kB / 16.58 MB, free: 6.84 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.51/1.51, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.3638/0.3638, allocations: 43.56 MB / 314.6 MB, free: 8.801 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.0005341/0.0005342, allocations: 12 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1274, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002938/0.1304, allocations: 2.199 MB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.1376, allocations: 4.283 MB / 449.4 MB, free: 6.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.1382, allocations: 19.75 kB / 449.4 MB, free: 6.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000866/0.1391, allocations: 294.6 kB / 449.7 MB, free: 6.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.1396, allocations: 71.36 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005417/0.145, allocations: 2.138 MB / 451.9 MB, free: 3.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.1466, allocations: 0.9939 MB / 452.9 MB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.1468, allocations: 73.72 kB / 452.9 MB, free: 2.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006977/0.1475, allocations: 386.6 kB / 453.3 MB, free: 2.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.1482, allocations: 366.4 kB / 453.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1484, allocations: 28 kB / 453.7 MB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.1509, allocations: 1.432 MB / 455.1 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.1513, allocations: 275.1 kB / 455.4 MB, free: 416 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.1515, allocations: 153.2 kB / 455.6 MB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2541/0.4056, allocations: 1.859 MB / 457.4 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4057, allocations: 3.25 kB / 457.4 MB, free: 38.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.4057, allocations: 2.25 kB / 457.4 MB, free: 38.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.4057, allocations: 0 / 457.4 MB, free: 38.87 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.001949/0.4077, allocations: 1.317 MB / 458.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4078, allocations: 13.02 kB / 458.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.804e-05/0.4078, allocations: 79.91 kB / 458.8 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.408, allocations: 109.1 kB / 458.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.4086, allocations: 0.5466 MB / 459.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.4087, allocations: 35.72 kB / 459.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.4088, allocations: 68.62 kB / 459.6 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.4097, allocations: 0.6928 MB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4097, allocations: 6.422 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.4098, allocations: 21.34 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4098, allocations: 5.875 kB / 460.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.4104, allocations: 369.9 kB / 460.7 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.4125, allocations: 1.373 MB / 462 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.4139, allocations: 0.8485 MB / 462.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.4143, allocations: 287.8 kB / 463.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.4143, allocations: 6.031 kB / 463.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.4144, allocations: 46.41 kB / 463.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.4144, allocations: 0 / 463.2 MB, free: 37.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001475/0.4158, allocations: 0.9717 MB / 464.2 MB, free: 37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.416, allocations: 0.6638 MB / 464.9 MB, free: 36.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/0.4169, allocations: 0.8375 MB / 465.7 MB, free: 36.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.417, allocations: 52.39 kB / 465.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.4173, allocations: 358 kB / 466.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.4174, allocations: 219.5 kB / 466.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.4175, allocations: 16 kB / 466.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4176, allocations: 414.8 kB / 466.7 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.4183, allocations: 0.5862 MB / 467.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.4193, allocations: 0.8339 MB / 468.1 MB, free: 35.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008636/0.4202, allocations: 0.6917 MB / 468.8 MB, free: 35.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.4202, allocations: 2.531 kB / 468.8 MB, free: 35.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002558/0.4227, allocations: 1.92 MB / 470.8 MB, free: 34.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4228, allocations: 6.438 kB / 470.8 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.266e-05/0.4228, allocations: 16.69 kB / 470.8 MB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.424, allocations: 0.4957 MB / 471.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4245, allocations: 135.8 kB / 471.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009711/0.4342, allocations: 16.91 MB / 488.3 MB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.435, allocations: 129.8 kB / 488.4 MB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.4351, allocations: 30.59 kB / 488.5 MB, free: 19.68 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.0004745/0.4356, allocations: 282.7 kB / 488.8 MB, free: 19.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4357, allocations: 93.98 kB / 488.8 MB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.4359, allocations: 102.1 kB / 488.9 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4359, allocations: 6.531 kB / 489 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4359, allocations: 0 / 489 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4359, allocations: 3.422 kB / 489 MB, free: 19.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.4367, allocations: 0.6341 MB / 489.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4367, allocations: 0 / 489.6 MB, free: 19.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/0.4373, allocations: 113 kB / 489.7 MB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4374, allocations: 0 / 489.7 MB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-05/0.4374, allocations: 33.16 kB / 489.7 MB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.4374, allocations: 0 / 489.7 MB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4374, allocations: 0 / 489.7 MB, free: 19.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.4388, allocations: 1.159 MB / 490.9 MB, free: 18.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/0.4394, allocations: 169.5 kB / 491.1 MB, free: 34.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4395, allocations: 38.34 kB / 491.1 MB, free: 34.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.4398, allocations: 33.69 kB / 491.1 MB, free: 34.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.4399, allocations: 28.8 kB / 491.2 MB, free: 34.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.4399, allocations: 16.91 kB / 491.2 MB, free: 34.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006033/0.4405, allocations: 0.5324 MB / 491.7 MB, free: 34.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4405, allocations: 0 / 491.7 MB, free: 34.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002784/0.4433, allocations: 0.7606 MB / 492.5 MB, free: 34.46 MB / 398.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.003336/0.4467, allocations: 2.3 MB / 494.8 MB, free: 33.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.4507, allocations: 2.993 MB / 497.8 MB, free: 31.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.4508, allocations: 2 kB / 497.8 MB, free: 31.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.4513, allocations: 333.7 kB / 498.1 MB, free: 31.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009984/0.4523, allocations: 205 kB / 498.3 MB, free: 31.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.4655, allocations: 7.578 MB / 0.494 GB, free: 27.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009503/0.4665, allocations: 1.09 MB / 0.4951 GB, free: 27.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006831/0.4672, allocations: 160.2 kB / 0.4952 GB, free: 27.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.4676, allocations: 339.1 kB / 0.4955 GB, free: 26.92 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4677, allocations: 4 kB / 0.4956 GB, free: 26.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.5293, allocations: 28.82 MB / 0.5237 GB, free: 10.04 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.5295, allocations: 254.8 kB / 0.5239 GB, free: 9.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.008, allocations: 0 / 0.5239 GB, free: 9.781 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