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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 118.9 kB / 17.13 MB, free: 5.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 191.7 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3461/0.3461, allocations: 44.23 MB / 326.5 MB, free: 6.801 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.00225/0.00225, allocations: 75.88 kB / 462.2 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2708, allocations: 60.98 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.00295/0.2737, allocations: 2.678 MB / 0.5135 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.2797, allocations: 4.424 MB / 0.5179 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.28, allocations: 20.22 kB / 0.5179 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.2807, allocations: 352.9 kB / 0.5182 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2809, allocations: 99.28 kB / 0.5183 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.2856, allocations: 2.632 MB / 0.5209 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008513/0.2865, allocations: 1.181 MB / 0.522 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2866, allocations: 53.7 kB / 0.5221 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.2869, allocations: 442.7 kB / 0.5225 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.2873, allocations: 414.2 kB / 0.5229 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.2873, allocations: 52 kB / 0.5229 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2891, allocations: 1.834 MB / 0.5247 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.2893, allocations: 322.9 kB / 0.525 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002338/0.2895, allocations: 397.4 kB / 0.5254 GB, free: 120 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.292, allocations: 2.298 MB / 0.5277 GB, free: 13.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.292, allocations: 3.984 kB / 0.5277 GB, free: 13.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.292, allocations: 3.938 kB / 0.5277 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.292, allocations: 0 / 0.5277 GB, free: 13.8 MB / 398.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.002692/0.2947, allocations: 1.498 MB / 0.5291 GB, free: 12.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2948, allocations: 11.98 kB / 0.5292 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.2949, allocations: 78.72 kB / 0.5292 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.295, allocations: 112.2 kB / 0.5293 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.296, allocations: 0.5867 MB / 0.5299 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.2961, allocations: 41.38 kB / 0.5299 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.2962, allocations: 76.06 kB / 0.53 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2973, allocations: 0.689 MB / 0.5307 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2973, allocations: 3.984 kB / 0.5307 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.2973, allocations: 16 kB / 0.5307 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2973, allocations: 12 kB / 0.5307 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.298, allocations: 371.7 kB / 0.5311 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002692/0.3007, allocations: 1.352 MB / 0.5324 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3022, allocations: 0.8331 MB / 0.5332 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.3027, allocations: 282 kB / 0.5335 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.3027, allocations: 8.422 kB / 0.5335 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.3027, allocations: 55.06 kB / 0.5335 GB, free: 7.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.3027, allocations: 0 / 0.5335 GB, free: 7.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001688/0.3044, allocations: 0.9661 MB / 0.5345 GB, free: 6.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004081/0.3048, allocations: 0.6726 MB / 0.5351 GB, free: 5.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3059, allocations: 0.842 MB / 0.536 GB, free: 4.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/0.306, allocations: 53.7 kB / 0.536 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.3063, allocations: 365.6 kB / 0.5364 GB, free: 4.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.3065, allocations: 226.1 kB / 0.5366 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/0.3069, allocations: 254.6 kB / 0.5368 GB, free: 3.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.3071, allocations: 414.7 kB / 0.5372 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009345/0.3081, allocations: 0.5885 MB / 0.5378 GB, free: 2.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3093, allocations: 0.8417 MB / 0.5386 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.311, allocations: 1.109 MB / 0.5397 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.311, allocations: 4 kB / 0.5397 GB, free: 0.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003372/0.3144, allocations: 1.925 MB / 0.5416 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3144, allocations: 4 kB / 0.5416 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.977e-05/0.3144, allocations: 19.98 kB / 0.5416 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.3159, allocations: 0.4939 MB / 0.5421 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.3165, allocations: 139.8 kB / 0.5422 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.3327, allocations: 18.21 MB / 0.56 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/0.3333, allocations: 142.7 kB / 0.5601 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.972e-05/0.3333, allocations: 24 kB / 0.5602 GB, free: 10.19 MB / 430.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.0004458/0.3338, allocations: 290.5 kB / 0.5604 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3339, allocations: 87.39 kB / 0.5605 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.3341, allocations: 105.3 kB / 0.5606 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3341, allocations: 4 kB / 0.5606 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.3341, allocations: 0 / 0.5606 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3341, allocations: 7.922 kB / 0.5606 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/0.3349, allocations: 0.6419 MB / 0.5613 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3349, allocations: 0 / 0.5613 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.3356, allocations: 107.9 kB / 0.5614 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.3356, allocations: 3.984 kB / 0.5614 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.3357, allocations: 35.98 kB / 0.5614 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3357, allocations: 3.938 kB / 0.5614 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3357, allocations: 0 / 0.5614 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3374, allocations: 1.171 MB / 0.5626 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3376, allocations: 164.3 kB / 0.5627 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3377, allocations: 35.97 kB / 0.5627 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.3381, allocations: 27.97 kB / 0.5628 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/0.3381, allocations: 32.39 kB / 0.5628 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.3382, allocations: 15.94 kB / 0.5628 GB, free: 7.383 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006886/0.3389, allocations: 0.5386 MB / 0.5633 GB, free: 6.832 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3389, allocations: 0 / 0.5633 GB, free: 6.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002141/0.341, allocations: 0.7613 MB / 0.5641 GB, free: 6.07 MB / 430.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.0036/0.3446, allocations: 2.292 MB / 0.5663 GB, free: 3.754 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004422/0.349, allocations: 2.883 MB / 0.5691 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.349, allocations: 4 kB / 0.5691 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.3496, allocations: 334.2 kB / 0.5695 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.3506, allocations: 233 kB / 0.5697 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.3666, allocations: 10.37 MB / 0.5798 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.3674, allocations: 1.09 MB / 0.5809 GB, free: 4.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000446/0.3678, allocations: 157.2 kB / 0.581 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.3683, allocations: 339.3 kB / 0.5813 GB, free: 3.891 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3683, allocations: 4 kB / 0.5813 GB, free: 3.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1142/0.4825, allocations: 29.72 MB / 0.6104 GB, free: 6.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.15, allocations: 7.859 kB / 0.6104 GB, free: 6.082 MB / 478.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.000179856 --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) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.375294972211123]