Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0013/0.0013, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2304/0.2304, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 80.75 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1101, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004397/0.1145, allocations: 2.653 MB / 482.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.1225, allocations: 4.416 MB / 487.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.1228, allocations: 23.75 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.1236, allocations: 358.3 kB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1238, allocations: 87.16 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00619/0.13, allocations: 2.636 MB / 490.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.1314, allocations: 1.17 MB / 491.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.1316, allocations: 81.73 kB / 491.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.132, allocations: 430.6 kB / 492 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000522/0.1326, allocations: 406.2 kB / 492.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1327, allocations: 56 kB / 492.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.1352, allocations: 1.787 MB / 494.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.1355, allocations: 307.1 kB / 494.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.1359, allocations: 397.4 kB / 495 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002353/0.1383, allocations: 2.275 MB / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1383, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1383, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.1383, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.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.00264/0.141, allocations: 1.464 MB / 498.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.141, allocations: 8.031 kB / 498.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.1411, allocations: 82.66 kB / 498.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.1413, allocations: 111.6 kB / 498.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008334/0.1422, allocations: 0.5744 MB / 499.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.1422, allocations: 45.36 kB / 499.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.1424, allocations: 75.94 kB / 499.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.1434, allocations: 0.6966 MB / 0.4886 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1435, allocations: 7.938 kB / 0.4886 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.1435, allocations: 16 kB / 0.4886 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1435, allocations: 8 kB / 0.4886 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.1442, allocations: 371.7 kB / 0.489 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.1471, allocations: 1.351 MB / 0.4903 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.149, allocations: 0.8438 MB / 0.4911 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.1498, allocations: 282 kB / 0.4914 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.1499, allocations: 8.438 kB / 0.4914 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.1499, allocations: 47.12 kB / 0.4914 GB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.735e-06/0.15, allocations: 4 kB / 0.4914 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.002889/0.1529, allocations: 0.9693 MB / 0.4924 GB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005547/0.1534, allocations: 0.6648 MB / 0.493 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.1552, allocations: 0.8458 MB / 0.4938 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.1554, allocations: 45.7 kB / 0.4939 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004953/0.1559, allocations: 353.4 kB / 0.4942 GB, free: 10.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.1562, allocations: 220.8 kB / 0.4944 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005843/0.1568, allocations: 258.6 kB / 0.4947 GB, free: 10.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003928/0.1572, allocations: 414.7 kB / 0.4951 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.1588, allocations: 0.5885 MB / 0.4957 GB, free: 9.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.1609, allocations: 0.8379 MB / 0.4965 GB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.1638, allocations: 1.128 MB / 0.4976 GB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1638, allocations: 0 / 0.4976 GB, free: 7.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005801/0.1696, allocations: 1.917 MB / 0.4994 GB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1697, allocations: 7.938 kB / 0.4995 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.849e-05/0.1698, allocations: 15.98 kB / 0.4995 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.1726, allocations: 0.4978 MB / 0.5 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.1737, allocations: 143.8 kB / 0.5001 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1994/0.3731, allocations: 18.2 MB / 0.5179 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.3737, allocations: 125.9 kB / 0.518 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.028e-05/0.3738, allocations: 26.3 kB / 0.518 GB, free: 26.8 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004197/0.3742, allocations: 284.7 kB / 0.5183 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3743, allocations: 94.56 kB / 0.5184 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.3745, allocations: 102.5 kB / 0.5185 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.3745, allocations: 11.88 kB / 0.5185 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3745, allocations: 0 / 0.5185 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3745, allocations: 3.734 kB / 0.5185 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007643/0.3753, allocations: 0.6329 MB / 0.5191 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3753, allocations: 0 / 0.5191 GB, free: 26.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007223/0.376, allocations: 105.7 kB / 0.5192 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3761, allocations: 2.219 kB / 0.5192 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.3761, allocations: 32.39 kB / 0.5192 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3761, allocations: 6.594 kB / 0.5192 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3762, allocations: 0 / 0.5192 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3776, allocations: 1.158 MB / 0.5204 GB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.3777, allocations: 159.9 kB / 0.5205 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3779, allocations: 34 kB / 0.5206 GB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.3782, allocations: 34.8 kB / 0.5206 GB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.3783, allocations: 32.16 kB / 0.5206 GB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.3784, allocations: 18.39 kB / 0.5206 GB, free: 25.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005951/0.379, allocations: 0.5368 MB / 0.5212 GB, free: 25.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.379, allocations: 0 / 0.5212 GB, free: 25.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002288/0.3813, allocations: 0.7659 MB / 0.5219 GB, free: 25.41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/0.3843, allocations: 2.298 MB / 0.5242 GB, free: 24.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.3882, allocations: 3.154 MB / 0.5272 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.3883, allocations: 4.625 kB / 0.5272 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.3888, allocations: 336.5 kB / 0.5276 GB, free: 22.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3898, allocations: 224.5 kB / 0.5278 GB, free: 22.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.4025, allocations: 10.61 MB / 0.5381 GB, free: 17.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.403, allocations: 1.088 MB / 0.5392 GB, free: 16.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.4035, allocations: 156.8 kB / 0.5394 GB, free: 16.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.4038, allocations: 341.2 kB / 0.5397 GB, free: 16.27 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4038, allocations: 4 kB / 0.5397 GB, free: 16.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/0.4769, allocations: 29.46 MB / 0.5684 GB, free: 3.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.02, allocations: 0 / 0.5684 GB, free: 3.48 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)