Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001297/0.001297, allocations: 107.5 kB / 21.22 MB, free: 0.6289 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.001441/0.001441, allocations: 212.3 kB / 24.51 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3423, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004208/0.3465, allocations: 2.45 MB / 0.5601 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007602/0.3541, allocations: 4.179 MB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.3544, allocations: 39.5 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00085/0.3553, allocations: 370.3 kB / 0.5646 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.3556, allocations: 103.1 kB / 0.5647 GB, free: 404 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005958/0.3615, allocations: 2.57 MB / 0.5672 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.3634, allocations: 1.201 MB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.3636, allocations: 53.89 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.3642, allocations: 450.7 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.3648, allocations: 414.2 kB / 0.5693 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.365, allocations: 56 kB / 0.5693 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.3683, allocations: 1.936 MB / 0.5712 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004259/0.3688, allocations: 314.9 kB / 0.5715 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.3692, allocations: 318 kB / 0.5718 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003006/0.3722, allocations: 2.341 MB / 0.5741 GB, free: 6.766 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3722, allocations: 4 kB / 0.5741 GB, free: 6.762 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3722, allocations: 3.938 kB / 0.5741 GB, free: 6.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.3722, allocations: 0 / 0.5741 GB, free: 6.758 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.003076/0.3753, allocations: 1.423 MB / 0.5755 GB, free: 5.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3753, allocations: 20.02 kB / 0.5755 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.463e-05/0.3754, allocations: 9.188 kB / 0.5755 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.3755, allocations: 82.66 kB / 0.5756 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.3757, allocations: 108.2 kB / 0.5757 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.3765, allocations: 0.5184 MB / 0.5762 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.3766, allocations: 41.38 kB / 0.5763 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.3767, allocations: 75.84 kB / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.3782, allocations: 1.307 MB / 0.5776 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.3782, allocations: 3.984 kB / 0.5776 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-05/0.3783, allocations: 16 kB / 0.5776 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3783, allocations: 8 kB / 0.5776 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006585/0.379, allocations: 367.7 kB / 0.578 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.3817, allocations: 1.207 MB / 0.5792 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.3833, allocations: 0.8256 MB / 0.58 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.3837, allocations: 286 kB / 0.5802 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.3838, allocations: 8.625 kB / 0.5802 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.3838, allocations: 50.8 kB / 0.5803 GB, free: 44 kB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 4.158e-06/0.3838, allocations: 0 / 0.5803 GB, free: 44 kB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001725/0.3856, allocations: 0.9738 MB / 0.5812 GB, free: 15.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003868/0.3859, allocations: 0.6687 MB / 0.5819 GB, free: 14.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.3871, allocations: 0.8459 MB / 0.5827 GB, free: 13.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.3871, allocations: 41.7 kB / 0.5828 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.3875, allocations: 365.6 kB / 0.5831 GB, free: 12.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.3877, allocations: 230 kB / 0.5833 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.3881, allocations: 254.6 kB / 0.5836 GB, free: 12.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.3884, allocations: 418.7 kB / 0.584 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008987/0.3893, allocations: 0.5924 MB / 0.5846 GB, free: 11.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.3907, allocations: 1.44 MB / 0.586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.3924, allocations: 1.12 MB / 0.5871 GB, free: 8.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3924, allocations: 0 / 0.5871 GB, free: 8.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00334/0.3957, allocations: 1.925 MB / 0.5889 GB, free: 6.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3958, allocations: 8 kB / 0.5889 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/0.3958, allocations: 15.98 kB / 0.589 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.3973, allocations: 0.4978 MB / 0.5894 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005928/0.3979, allocations: 143.8 kB / 0.5896 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/0.4134, allocations: 16.94 MB / 0.6061 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.4141, allocations: 142.8 kB / 0.6063 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.4142, allocations: 24.31 kB / 0.6063 GB, free: 3.527 MB / 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.0004902/0.4147, allocations: 281.6 kB / 0.6066 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4148, allocations: 103.3 kB / 0.6066 GB, free: 3.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.415, allocations: 97.41 kB / 0.6067 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.415, allocations: 8 kB / 0.6068 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.415, allocations: 0 / 0.6068 GB, free: 3.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.415, allocations: 7.922 kB / 0.6068 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.4158, allocations: 0.5396 MB / 0.6073 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4158, allocations: 0 / 0.6073 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.4165, allocations: 107.9 kB / 0.6074 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.4165, allocations: 3.984 kB / 0.6074 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/0.4166, allocations: 27.98 kB / 0.6074 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.222e-05/0.4167, allocations: 4 kB / 0.6074 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.4167, allocations: 7.984 kB / 0.6074 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.4184, allocations: 1.155 MB / 0.6086 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4185, allocations: 87.22 kB / 0.6086 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4186, allocations: 35.97 kB / 0.6087 GB, free: 1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.419, allocations: 31.91 kB / 0.6087 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4191, allocations: 36.31 kB / 0.6087 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.4191, allocations: 19.98 kB / 0.6088 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007125/0.4198, allocations: 0.5347 MB / 0.6093 GB, free: 376 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4198, allocations: 0 / 0.6093 GB, free: 376 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002783/0.4226, allocations: 0.7768 MB / 0.61 GB, free: 15.59 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.003605/0.4262, allocations: 2.286 MB / 0.6123 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004619/0.4308, allocations: 2.88 MB / 0.6151 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.4308, allocations: 0 / 0.6151 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.4314, allocations: 330.2 kB / 0.6154 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4325, allocations: 232.6 kB / 0.6156 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.4489, allocations: 10.36 MB / 0.6257 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.4495, allocations: 496 kB / 0.6262 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004754/0.45, allocations: 161.2 kB / 0.6264 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.4505, allocations: 339.3 kB / 0.6267 GB, free: 14.03 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4505, allocations: 4 kB / 0.6267 GB, free: 14.03 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08562/0.5361, allocations: 31.23 MB / 0.6572 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/14.89, allocations: 10.36 kB / 0.6572 GB, free: 15.17 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 18.45348793407902]