Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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.0008908/0.0008908, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008071/0.0008071, allocations: 167 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.9552/0.9552, allocations: 158.6 MB / 187.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.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: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.87e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.0021/0.002129, allocations: 1.554 MB / 301.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.005657, allocations: 2.99 MB / 304.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.005769, allocations: 8 kB / 304.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.006104, allocations: 59.69 kB / 304.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.006158, allocations: 15.8 kB / 304.3 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.008924, allocations: 1.504 MB / 305.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.00915, allocations: 155.6 kB / 306 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.009249, allocations: 17.25 kB / 306 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.009325, allocations: 71.86 kB / 306.1 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.009392, allocations: 39.89 kB / 306.1 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.009409, allocations: 8 kB / 306.1 MB, free: 500 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.01056, allocations: 1.428 MB / 307.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.01066, allocations: 35.84 kB / 307.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.0107, allocations: 27.92 kB / 307.6 MB, free: 15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.01176, allocations: 1.45 MB / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01177, allocations: 0 / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01177, allocations: 0 / 309 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.01177, allocations: 3.938 kB / 309 MB, free: 13.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000794/0.01257, allocations: 0.4935 MB / 309.5 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01261, allocations: 15.98 kB / 309.6 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.01266, allocations: 20.83 kB / 309.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.01285, allocations: 153.5 kB / 309.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.01286, allocations: 8.312 kB / 309.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.01289, allocations: 12.38 kB / 309.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.01312, allocations: 198.7 kB / 309.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.01313, allocations: 4.141 kB / 309.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.01315, allocations: 15.88 kB / 310 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.01315, allocations: 4 kB / 310 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.126e-05/0.01324, allocations: 59.89 kB / 310 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.01369, allocations: 304.3 kB / 310.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.014, allocations: 126.5 kB / 310.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.01406, allocations: 36.84 kB / 310.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.01407, allocations: 4 kB / 310.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.0141, allocations: 30.56 kB / 310.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.0141, allocations: 4 kB / 310.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001405/0.0155, allocations: 0.9857 MB / 311.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.01558, allocations: 128.5 kB / 311.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01571, allocations: 178.9 kB / 311.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.01573, allocations: 30.08 kB / 311.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.0158, allocations: 112.5 kB / 311.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.01585, allocations: 51.58 kB / 312 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.01591, allocations: 45.7 kB / 312 MB, free: 10.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01602, allocations: 334.8 kB / 312.4 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01614, allocations: 103.8 kB / 312.5 MB, free: 9.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.01629, allocations: 208.5 kB / 312.7 MB, free: 9.602 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.0165, allocations: 208.7 kB / 312.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.0165, allocations: 0 / 312.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003588/0.01686, allocations: 314.3 kB / 313.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01688, allocations: 4 kB / 313.2 MB, free: 9.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.01689, allocations: 4 kB / 313.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.01705, allocations: 44.77 kB / 313.2 MB, free: 9.023 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.01715, allocations: 35.97 kB / 313.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.01809, allocations: 1.389 MB / 314.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.01814, allocations: 8.031 kB / 314.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01815, allocations: 4 kB / 314.7 MB, free: 7.488 MB / 298.7 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.01825, allocations: 141.7 kB / 314.8 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.01828, allocations: 15.91 kB / 314.8 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.01831, allocations: 29.61 kB / 314.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01831, allocations: 4 kB / 314.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.01831, allocations: 0 / 314.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01832, allocations: 0 / 314.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.01847, allocations: 169.3 kB / 315 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.01847, allocations: 3.938 kB / 315 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.01862, allocations: 47.97 kB / 315.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01862, allocations: 0 / 315.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01863, allocations: 4 kB / 315.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01863, allocations: 0 / 315.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01863, allocations: 4 kB / 315.1 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.01901, allocations: 416.1 kB / 315.5 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01903, allocations: 19.78 kB / 315.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.01904, allocations: 8 kB / 315.5 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.01909, allocations: 8.031 kB / 315.5 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01913, allocations: 7.984 kB / 315.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.01914, allocations: 4 kB / 315.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.01922, allocations: 131.5 kB / 315.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01922, allocations: 0 / 315.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001086/0.0203, allocations: 0.5116 MB / 316.2 MB, free: 5.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.0008383/0.02114, allocations: 0.6782 MB / 316.8 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004864/0.02163, allocations: 373.8 kB / 317.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02163, allocations: 0 / 317.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.826e-05/0.02173, allocations: 83.89 kB / 317.3 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.02196, allocations: 39.95 kB / 317.3 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.02252, allocations: 419.9 kB / 317.7 MB, free: 4.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.02261, allocations: 114.8 kB / 317.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.02265, allocations: 16.5 kB / 317.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02265, allocations: 0 / 317.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of Templates: time 0.008346/0.031, allocations: 6.263 MB / 324.1 MB, free: 13.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.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: 4.9450658690184355]