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.001531/0.001531, 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.001803/0.001803, 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.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2863/0.2863, 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.002235/0.002235, allocations: 85.59 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1149, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004053/0.119, allocations: 2.646 MB / 482.9 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007651/0.1267, allocations: 4.416 MB / 487.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.1272, allocations: 23.75 kB / 487.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009491/0.1282, allocations: 354.3 kB / 487.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.1286, allocations: 87.16 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006222/0.1349, allocations: 2.642 MB / 490.4 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1363, allocations: 1.174 MB / 491.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1365, allocations: 77.73 kB / 491.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.137, allocations: 426.7 kB / 492 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005068/0.1375, allocations: 414.2 kB / 492.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.1377, allocations: 56 kB / 492.5 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.1402, allocations: 1.784 MB / 494.3 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.1406, allocations: 307.1 kB / 494.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003889/0.141, allocations: 397.4 kB / 495 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.1433, allocations: 2.275 MB / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1434, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1434, allocations: 0 / 497.2 MB, free: 4.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1434, 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.002546/0.1459, allocations: 1.464 MB / 498.7 MB, free: 2.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.146, allocations: 12.03 kB / 498.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1461, allocations: 78.72 kB / 498.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.1463, allocations: 103.6 kB / 498.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008269/0.1471, allocations: 0.5861 MB / 499.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.1472, allocations: 37.38 kB / 499.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1473, allocations: 71.94 kB / 499.6 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1483, allocations: 0.7006 MB / 0.4886 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1484, allocations: 0 / 0.4886 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.1484, allocations: 19.94 kB / 0.4886 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1485, allocations: 11.94 kB / 0.4886 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.1491, allocations: 371.7 kB / 0.489 GB, free: 448 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.1517, allocations: 1.351 MB / 0.4903 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.1532, allocations: 0.8437 MB / 0.4911 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.1537, allocations: 290 kB / 0.4914 GB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.1537, allocations: 4.438 kB / 0.4914 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.1538, allocations: 47.12 kB / 0.4914 GB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.1538, allocations: 4 kB / 0.4914 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001699/0.1555, allocations: 0.9654 MB / 0.4924 GB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003508/0.1558, allocations: 0.6686 MB / 0.493 GB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.1568, allocations: 0.8458 MB / 0.4938 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-05/0.1569, allocations: 41.7 kB / 0.4939 GB, free: 11.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.1572, allocations: 365.3 kB / 0.4942 GB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.1574, allocations: 216.8 kB / 0.4944 GB, free: 10.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.1577, allocations: 258.6 kB / 0.4947 GB, free: 10.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.158, allocations: 414.7 kB / 0.4951 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008842/0.1588, allocations: 0.5924 MB / 0.4957 GB, free: 9.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.1599, allocations: 0.8301 MB / 0.4965 GB, free: 8.363 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.1615, allocations: 1.132 MB / 0.4976 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1615, allocations: 0 / 0.4976 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003091/0.1646, allocations: 1.921 MB / 0.4995 GB, free: 5.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1646, allocations: 8 kB / 0.4995 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/0.1647, allocations: 15.92 kB / 0.4995 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.1661, allocations: 0.5017 MB / 0.5 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000619/0.1667, allocations: 135.9 kB / 0.5001 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/0.3751, allocations: 18.2 MB / 0.5179 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000893/0.376, allocations: 129.4 kB / 0.518 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3762, allocations: 29.22 kB / 0.518 GB, free: 26.96 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.0006214/0.3768, allocations: 283.6 kB / 0.5183 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.377, allocations: 90.03 kB / 0.5184 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.3772, allocations: 98.86 kB / 0.5185 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3773, allocations: 9.688 kB / 0.5185 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3773, allocations: 3.875 kB / 0.5185 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.3773, allocations: 3.859 kB / 0.5185 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3785, allocations: 0.6324 MB / 0.5191 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.3785, allocations: 3.938 kB / 0.5191 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.3798, allocations: 104 kB / 0.5192 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.3798, allocations: 1.906 kB / 0.5192 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.3799, allocations: 33.48 kB / 0.5192 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-06/0.38, allocations: 6.125 kB / 0.5193 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.38, allocations: 0 / 0.5193 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.3827, allocations: 1.151 MB / 0.5204 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.3828, allocations: 166 kB / 0.5205 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.3831, allocations: 35.28 kB / 0.5206 GB, free: 25.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000639/0.3837, allocations: 34.56 kB / 0.5206 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3839, allocations: 36.16 kB / 0.5206 GB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.3839, allocations: 10.7 kB / 0.5206 GB, free: 25.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.3851, allocations: 0.5399 MB / 0.5212 GB, free: 25.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3851, allocations: 2.438 kB / 0.5212 GB, free: 25.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003581/0.3887, allocations: 0.7641 MB / 0.5219 GB, free: 25.58 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.005338/0.394, allocations: 2.294 MB / 0.5242 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006595/0.4007, allocations: 3.157 MB / 0.5272 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.4007, allocations: 1.5 kB / 0.5272 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.4016, allocations: 332.1 kB / 0.5276 GB, free: 22.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.4034, allocations: 232.8 kB / 0.5278 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/0.4233, allocations: 10.61 MB / 0.5381 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4238, allocations: 1.086 MB / 0.5392 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004074/0.4242, allocations: 158.2 kB / 0.5394 GB, free: 16.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.4246, allocations: 337.7 kB / 0.5397 GB, free: 16.44 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4246, allocations: 3.625 kB / 0.5397 GB, free: 16.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08437/0.5089, allocations: 29.46 MB / 0.5684 GB, free: 3.586 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.42, allocations: 4 kB / 0.5685 GB, free: 3.582 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)