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.001346/0.001346, allocations: 113.2 kB / 17.73 MB, free: 5.32 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.001379/0.00138, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.375/1.375, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001156/0.001156, allocations: 48.14 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09939, allocations: 46.62 MB / 375.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00325/0.1027, allocations: 1.998 MB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2172/0.32, allocations: 3.71 MB / 380.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.3202, allocations: 12.58 kB / 380.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.3209, allocations: 178.8 kB / 381 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.321, allocations: 48.27 kB / 381.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.3259, allocations: 1.935 MB / 383 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006265/0.3265, allocations: 0.4988 MB / 383.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3267, allocations: 53.19 kB / 383.6 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.3269, allocations: 179.7 kB / 383.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3272, allocations: 163.5 kB / 383.9 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.3272, allocations: 27.34 kB / 383.9 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.3301, allocations: 1.786 MB / 385.7 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.3304, allocations: 123.1 kB / 385.8 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3305, allocations: 161.2 kB / 386 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.3327, allocations: 1.782 MB / 387.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3327, allocations: 5.25 kB / 387.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3327, allocations: 0 / 387.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3327, allocations: 0 / 387.8 MB, free: 8.645 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.001636/0.3344, allocations: 0.8924 MB / 388.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3344, allocations: 9.672 kB / 388.7 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.599e-05/0.3345, allocations: 46.59 kB / 388.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.335, allocations: 352.1 kB / 389.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.335, allocations: 20.56 kB / 389.1 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.3351, allocations: 29.47 kB / 389.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.3356, allocations: 308.6 kB / 389.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3356, allocations: 0.6562 kB / 389.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3356, allocations: 11.12 kB / 389.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3356, allocations: 3.562 kB / 389.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.3359, allocations: 144.7 kB / 389.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3371, allocations: 0.6676 MB / 390.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006826/0.3378, allocations: 322.6 kB / 390.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.338, allocations: 111.9 kB / 390.7 MB, free: 6.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.338, allocations: 5.516 kB / 390.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3381, allocations: 42.75 kB / 390.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.3381, allocations: 0 / 390.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007777/0.3389, allocations: 382.4 kB / 391.1 MB, free: 6.723 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.339, allocations: 368.8 kB / 391.4 MB, free: 6.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.3394, allocations: 405.9 kB / 391.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.3394, allocations: 36.42 kB / 391.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3396, allocations: 201 kB / 392.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.3396, allocations: 84.22 kB / 392.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.3398, allocations: 100.2 kB / 392.2 MB, free: 5.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.3399, allocations: 356.2 kB / 392.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.3403, allocations: 211 kB / 392.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.3408, allocations: 320.4 kB / 393.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006056/0.3414, allocations: 397.6 kB / 393.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3414, allocations: 0 / 393.5 MB, free: 5.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001146/0.3425, allocations: 0.6469 MB / 394.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3426, allocations: 10.02 kB / 394.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.3426, allocations: 7.938 kB / 394.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.3431, allocations: 124.3 kB / 394.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.3434, allocations: 68.33 kB / 394.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.3462, allocations: 4.552 MB / 398.9 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.3464, allocations: 62.23 kB / 399 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.3464, allocations: 8.188 kB / 399 MB, free: 384 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.0001868/0.3466, allocations: 178.4 kB / 399.2 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.3467, allocations: 40.12 kB / 399.2 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.658e-05/0.3468, allocations: 51.47 kB / 399.2 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3468, allocations: 2.75 kB / 399.2 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3468, allocations: 0 / 399.2 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3468, allocations: 3.938 kB / 399.2 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.3472, allocations: 350.2 kB / 399.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3472, allocations: 0 / 399.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.3475, allocations: 42.3 kB / 399.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3475, allocations: 0.5625 kB / 399.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.3476, allocations: 12.03 kB / 399.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3476, allocations: 5.375 kB / 399.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3476, allocations: 3.938 kB / 399.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/0.3483, allocations: 0.4946 MB / 400.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.3484, allocations: 112.2 kB / 400.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.3485, allocations: 20.98 kB / 400.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3487, allocations: 18.39 kB / 400.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.3487, allocations: 10.16 kB / 400.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3488, allocations: 13.92 kB / 400.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002947/0.3491, allocations: 271.5 kB / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3491, allocations: 0 / 400.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003022/0.3521, allocations: 0.6481 MB / 401.2 MB, free: 15.35 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.001772/0.3539, allocations: 0.6684 MB / 401.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3553, allocations: 0.9536 MB / 402.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3553, allocations: 1.062 kB / 402.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.3556, allocations: 116.8 kB / 403 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.3563, allocations: 130.9 kB / 403.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3578, allocations: 0.8951 MB / 404 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3583, allocations: 0.8391 MB / 404.8 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002199/0.3585, allocations: 73.58 kB / 404.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.835e-05/0.3586, allocations: 28.47 kB / 404.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3586, allocations: 0 / 404.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of Templates: time 0.02388/0.3825, allocations: 12.9 MB / 417.8 MB, free: 3.344 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