Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001917/0.001917, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002464/0.002464, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.458/1.458, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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: 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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.119e-05, allocations: 6.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003162/0.003193, allocations: 1.608 MB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00616/0.009353, allocations: 2.984 MB / 276.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.009483, allocations: 7.938 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.009862, allocations: 47.72 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.009935, allocations: 23.78 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.01382, allocations: 1.511 MB / 278.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.01409, allocations: 143.7 kB / 278.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.0142, allocations: 21.28 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.01434, allocations: 71.81 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.01445, allocations: 47.88 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.01447, allocations: 8 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.01644, allocations: 1.432 MB / 280.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.945e-05/0.01652, allocations: 35.86 kB / 280.2 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.01659, allocations: 31.91 kB / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.01875, allocations: 1.461 MB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01876, allocations: 4 kB / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01876, allocations: 0 / 281.7 MB, free: 8.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.01876, allocations: 0 / 281.7 MB, free: 8.379 MB / 266.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.001102/0.01987, allocations: 0.4896 MB / 282.2 MB, free: 7.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.01991, allocations: 8.031 kB / 282.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.01999, allocations: 20.84 kB / 282.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.0203, allocations: 161.5 kB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.02031, allocations: 4.375 kB / 282.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.02036, allocations: 12.38 kB / 282.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.02069, allocations: 202.7 kB / 282.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.0207, allocations: 192 / 282.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.02072, allocations: 7.938 kB / 282.6 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.02073, allocations: 4 kB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.02088, allocations: 55.89 kB / 282.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.02153, allocations: 324.2 kB / 283 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.02196, allocations: 122.5 kB / 283.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.02207, allocations: 44.83 kB / 283.2 MB, free: 6.809 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.02209, allocations: 4 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.02212, allocations: 30.56 kB / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.02212, allocations: 0 / 283.2 MB, free: 6.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002502/0.02463, allocations: 0.9896 MB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.02474, allocations: 132.5 kB / 284.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.02494, allocations: 174.2 kB / 284.5 MB, free: 5.359 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.02497, allocations: 33.7 kB / 284.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.02507, allocations: 116.5 kB / 284.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.529e-05/0.02513, allocations: 47.59 kB / 284.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.02522, allocations: 45.7 kB / 284.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.02542, allocations: 334.8 kB / 285.1 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.0256, allocations: 91.95 kB / 285.2 MB, free: 4.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.02589, allocations: 221.1 kB / 285.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.02626, allocations: 206.6 kB / 285.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.02626, allocations: 0 / 285.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006281/0.02689, allocations: 307.1 kB / 285.9 MB, free: 3.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.0269, allocations: 4 kB / 285.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.02692, allocations: 3.984 kB / 285.9 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.02717, allocations: 52.7 kB / 285.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.02735, allocations: 35.97 kB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.02893, allocations: 1.377 MB / 287.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.02905, allocations: 12.02 kB / 287.4 MB, free: 2.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02907, allocations: 8 kB / 287.4 MB, free: 2.328 MB / 266.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.0001671/0.02923, allocations: 141.9 kB / 287.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.02929, allocations: 27.84 kB / 287.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.02936, allocations: 25.45 kB / 287.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.02936, allocations: 0 / 287.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.02936, allocations: 0 / 287.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.02936, allocations: 0 / 287.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.02962, allocations: 161.3 kB / 287.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.02963, allocations: 7.969 kB / 287.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003001/0.02993, allocations: 59.95 kB / 287.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.02993, allocations: 4 kB / 287.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.02995, allocations: 0 / 287.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.02995, allocations: 0 / 287.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02995, allocations: 0 / 287.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.03063, allocations: 422.7 kB / 288.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.03066, allocations: 15.84 kB / 288.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.03068, allocations: 0 / 288.2 MB, free: 1.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.0308, allocations: 12.03 kB / 288.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.03085, allocations: 7.984 kB / 288.2 MB, free: 1.402 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.03087, allocations: 12 kB / 288.2 MB, free: 1.391 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004323/0.0313, allocations: 127.2 kB / 288.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0313, allocations: 3.938 kB / 288.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001736/0.03304, allocations: 0.5116 MB / 288.9 MB, free: 0.75 MB / 266.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.001225/0.03426, allocations: 0.6554 MB / 289.5 MB, free: 88 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1018/0.1361, allocations: 369.2 kB / 289.9 MB, free: 27.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1361, allocations: 2.5 kB / 289.9 MB, free: 27.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.1362, allocations: 81.31 kB / 290 MB, free: 27.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.1367, allocations: 37.41 kB / 290 MB, free: 27.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.1374, allocations: 389.1 kB / 290.4 MB, free: 27.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1375, allocations: 118.3 kB / 290.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1376, allocations: 35.44 kB / 290.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.1377, allocations: 17.28 kB / 290.6 MB, free: 27.44 MB / 266.7 MB Notification: Performance of SimCode: time 1.883e-06/0.1377, allocations: 0 / 290.6 MB, free: 27.44 MB / 266.7 MB Notification: Performance of Templates: time 0.01825/0.1559, allocations: 8.056 MB / 298.6 MB, free: 25.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.635231469990686]