Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 206.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2562/0.2562, allocations: 46.95 MB / 360.9 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.88 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4295, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004357/0.4338, allocations: 2.452 MB / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00916/0.443, allocations: 4.199 MB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.4434, allocations: 35.56 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.4444, allocations: 370.3 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.4446, allocations: 95.16 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006766/0.4514, allocations: 2.57 MB / 0.5701 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.4534, allocations: 1.209 MB / 0.5713 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.4536, allocations: 53.89 kB / 0.5713 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.4542, allocations: 450.6 kB / 0.5718 GB, free: 8.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006627/0.4549, allocations: 414.2 kB / 0.5722 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.455, allocations: 52 kB / 0.5722 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.4584, allocations: 1.943 MB / 0.5741 GB, free: 6.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.4589, allocations: 318.9 kB / 0.5744 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004519/0.4594, allocations: 322 kB / 0.5747 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.4625, allocations: 2.325 MB / 0.577 GB, free: 3.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4625, allocations: 3.984 kB / 0.577 GB, free: 3.434 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4625, allocations: 0 / 0.577 GB, free: 3.434 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4626, allocations: 0 / 0.577 GB, free: 3.434 MB / 414.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.003127/0.4657, allocations: 1.438 MB / 0.5784 GB, free: 1.961 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4657, allocations: 8.031 kB / 0.5784 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.4658, allocations: 78.72 kB / 0.5785 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.4661, allocations: 108.2 kB / 0.5786 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.4671, allocations: 0.5146 MB / 0.5791 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.4671, allocations: 37.38 kB / 0.5791 GB, free: 1.172 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.4673, allocations: 80.03 kB / 0.5792 GB, free: 1.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/0.4688, allocations: 1.307 MB / 0.5805 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4689, allocations: 0 / 0.5805 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.4689, allocations: 19.94 kB / 0.5805 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.4689, allocations: 8 kB / 0.5805 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007064/0.4696, allocations: 371.7 kB / 0.5808 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.4725, allocations: 1.21 MB / 0.582 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.4741, allocations: 0.8294 MB / 0.5828 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/0.4746, allocations: 282 kB / 0.5831 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.4747, allocations: 4.438 kB / 0.5831 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.4747, allocations: 51.12 kB / 0.5832 GB, free: 12.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 3.567e-06/0.4747, allocations: 0 / 0.5832 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001783/0.4765, allocations: 0.9699 MB / 0.5841 GB, free: 11.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004578/0.477, allocations: 0.6687 MB / 0.5848 GB, free: 10.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.478, allocations: 0.842 MB / 0.5856 GB, free: 10.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.4781, allocations: 53.69 kB / 0.5856 GB, free: 10 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.4785, allocations: 357.7 kB / 0.586 GB, free: 9.648 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4787, allocations: 230 kB / 0.5862 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.4791, allocations: 262.6 kB / 0.5864 GB, free: 9.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.4794, allocations: 414.7 kB / 0.5868 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/0.4803, allocations: 0.5885 MB / 0.5874 GB, free: 8.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.4819, allocations: 1.44 MB / 0.5888 GB, free: 6.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001849/0.4837, allocations: 1.132 MB / 0.5899 GB, free: 5.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4837, allocations: 0 / 0.5899 GB, free: 5.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00482/0.4886, allocations: 1.914 MB / 0.5918 GB, free: 3.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.4886, allocations: 4 kB / 0.5918 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-05/0.4887, allocations: 23.97 kB / 0.5918 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.4909, allocations: 0.49 MB / 0.5923 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.4919, allocations: 159.7 kB / 0.5925 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/0.5132, allocations: 16.93 MB / 0.609 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5142, allocations: 134.8 kB / 0.6091 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5143, allocations: 28.31 kB / 0.6091 GB, free: 232 kB / 446.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.0007056/0.515, allocations: 289.5 kB / 0.6094 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.5152, allocations: 91.39 kB / 0.6095 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.5155, allocations: 101.4 kB / 0.6096 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5155, allocations: 7.984 kB / 0.6096 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5155, allocations: 8 kB / 0.6096 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5155, allocations: 3.938 kB / 0.6096 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5166, allocations: 0.5397 MB / 0.6101 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5166, allocations: 0 / 0.6101 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.5177, allocations: 103.9 kB / 0.6102 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.5177, allocations: 4 kB / 0.6103 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5178, allocations: 27.97 kB / 0.6103 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.5178, allocations: 8 kB / 0.6103 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5178, allocations: 0 / 0.6103 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.5202, allocations: 1.159 MB / 0.6114 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.5203, allocations: 91.2 kB / 0.6115 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.5205, allocations: 31.98 kB / 0.6115 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.521, allocations: 31.97 kB / 0.6116 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5212, allocations: 32.38 kB / 0.6116 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.5212, allocations: 19.92 kB / 0.6116 GB, free: 13.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009742/0.5222, allocations: 0.5425 MB / 0.6121 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5222, allocations: 0 / 0.6121 GB, free: 13.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003272/0.5255, allocations: 0.7651 MB / 0.6129 GB, free: 12.29 MB / 462.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.005132/0.5306, allocations: 2.301 MB / 0.6151 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005969/0.5366, allocations: 2.88 MB / 0.618 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5366, allocations: 4 kB / 0.618 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.5371, allocations: 330.2 kB / 0.6183 GB, free: 6.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.5382, allocations: 226.5 kB / 0.6185 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.5545, allocations: 10.35 MB / 0.6286 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.5552, allocations: 0.4922 MB / 0.6291 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.5557, allocations: 153.2 kB / 0.6292 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.5562, allocations: 339.3 kB / 0.6295 GB, free: 10.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5562, allocations: 4 kB / 0.6295 GB, free: 10.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09303/0.6492, allocations: 31.69 MB / 0.6605 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.25, allocations: 4.469 kB / 0.6605 GB, free: 11.38 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.703930753981695]