Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 114.4 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001447/0.001447, allocations: 55.92 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1298, allocations: 46.61 MB / 375.1 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.004748/0.1346, allocations: 2.009 MB / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2903/0.4249, allocations: 3.704 MB / 380.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.4252, allocations: 10.19 kB / 380.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.4259, allocations: 185 kB / 381 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.426, allocations: 40.27 kB / 381.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.4317, allocations: 1.943 MB / 383 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008519/0.4326, allocations: 0.4922 MB / 383.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.4328, allocations: 50.69 kB / 383.6 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.433, allocations: 178.4 kB / 383.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.4333, allocations: 171.2 kB / 383.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.4334, allocations: 27.12 kB / 383.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003695/0.4371, allocations: 1.781 MB / 385.7 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.4373, allocations: 119.7 kB / 385.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.4375, allocations: 164.2 kB / 386 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.4405, allocations: 1.781 MB / 387.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4405, allocations: 1.062 kB / 387.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.4405, allocations: 0 / 387.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.4406, allocations: 0 / 387.8 MB, free: 8.41 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002128/0.4427, allocations: 0.8987 MB / 388.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.4428, allocations: 10.09 kB / 388.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4429, allocations: 45.69 kB / 388.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.4434, allocations: 351.7 kB / 389.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4434, allocations: 20.38 kB / 389.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/0.4435, allocations: 30.23 kB / 389.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.4441, allocations: 312.1 kB / 389.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4441, allocations: 0.7969 kB / 389.4 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.4441, allocations: 7.5 kB / 389.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.4442, allocations: 2.469 kB / 389.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.4445, allocations: 149.8 kB / 389.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.4458, allocations: 0.6655 MB / 390.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007906/0.4466, allocations: 323.1 kB / 390.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.4468, allocations: 115.3 kB / 390.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.4469, allocations: 1.406 kB / 390.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4469, allocations: 34.45 kB / 390.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.4469, allocations: 0 / 390.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.000872/0.4478, allocations: 385.3 kB / 391.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.4479, allocations: 366.6 kB / 391.4 MB, free: 6.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005567/0.4485, allocations: 409.4 kB / 391.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.4485, allocations: 36.08 kB / 391.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4487, allocations: 198.7 kB / 392.1 MB, free: 5.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.4488, allocations: 87.27 kB / 392.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.4489, allocations: 100.6 kB / 392.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4491, allocations: 360.5 kB / 392.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.4495, allocations: 206.8 kB / 392.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.45, allocations: 319.4 kB / 393.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.4507, allocations: 396.5 kB / 393.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4507, allocations: 0 / 393.5 MB, free: 4.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001309/0.452, allocations: 0.6506 MB / 394.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.452, allocations: 5.938 kB / 394.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.4521, allocations: 17.11 kB / 394.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.4526, allocations: 124.3 kB / 394.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.4529, allocations: 61.16 kB / 394.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.4562, allocations: 4.565 MB / 398.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.4565, allocations: 51.02 kB / 399 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/0.4565, allocations: 13.31 kB / 399 MB, free: 132 kB / 318.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002998/0.4568, allocations: 172.9 kB / 399.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.4569, allocations: 42.06 kB / 399.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.756e-05/0.457, allocations: 44.03 kB / 399.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.457, allocations: 3.938 kB / 399.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.457, allocations: 0 / 399.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.4571, allocations: 5.531 kB / 399.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.4576, allocations: 348.3 kB / 399.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4576, allocations: 0 / 399.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.4579, allocations: 47.36 kB / 399.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4579, allocations: 2.031 kB / 399.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4579, allocations: 9.031 kB / 399.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.458, allocations: 4 kB / 399.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.458, allocations: 10.08 kB / 399.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.4587, allocations: 0.4919 MB / 400.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.4589, allocations: 113.3 kB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.459, allocations: 11 kB / 400.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.4592, allocations: 22.36 kB / 400.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.4592, allocations: 16.25 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4593, allocations: 13.02 kB / 400.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003738/0.4597, allocations: 271.2 kB / 400.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4597, allocations: 0 / 400.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004378/0.464, allocations: 0.648 MB / 401.2 MB, free: 15.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002331/0.4664, allocations: 0.6668 MB / 401.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.4682, allocations: 0.9518 MB / 402.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4682, allocations: 1.25 kB / 402.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.4685, allocations: 124.4 kB / 403 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.4692, allocations: 112.8 kB / 403.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.471, allocations: 0.9056 MB / 404 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.4716, allocations: 0.8375 MB / 404.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002975/0.4719, allocations: 69.44 kB / 404.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.472, allocations: 27.97 kB / 404.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.162e-06/0.472, allocations: 0 / 404.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Templates: time 0.03/0.502, allocations: 12.91 MB / 417.8 MB, free: 3.199 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches