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.001196/0.001196, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.004395/0.004395, allocations: 165.8 kB / 24.99 MB, free: 8.797 MB / 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.542e-05, allocations: 5.266 kB / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002088/0.002113, allocations: 1.643 MB / 274.7 MB, free: 220 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.005647, allocations: 3.074 MB / 277.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.005762, allocations: 3.938 kB / 277.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.006089, allocations: 55.64 kB / 277.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.006143, allocations: 15.86 kB / 277.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.009033, allocations: 1.508 MB / 279.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.009266, allocations: 151.6 kB / 279.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.009366, allocations: 13.3 kB / 279.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.009444, allocations: 71.88 kB / 279.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.009511, allocations: 47.81 kB / 279.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.00953, allocations: 8 kB / 279.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.01065, allocations: 1.432 MB / 281.1 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.914e-05/0.01073, allocations: 39.84 kB / 281.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.01078, allocations: 31.91 kB / 281.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01185, allocations: 1.434 MB / 282.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.01185, allocations: 0 / 282.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01186, allocations: 4 kB / 282.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.01186, allocations: 0 / 282.6 MB, free: 8.312 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.0007534/0.01261, allocations: 0.5895 MB / 283.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.01266, allocations: 12.03 kB / 283.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.01272, allocations: 20.84 kB / 283.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.01293, allocations: 160.4 kB / 283.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.01294, allocations: 8.375 kB / 283.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.01297, allocations: 12.38 kB / 283.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.01318, allocations: 198.8 kB / 283.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01319, allocations: 4.188 kB / 283.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.01321, allocations: 11.92 kB / 283.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01322, allocations: 0 / 283.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.01327, allocations: 27.22 kB / 283.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.0137, allocations: 359.4 kB / 284 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.01394, allocations: 87.06 kB / 284 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.01397, allocations: 19.67 kB / 284.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.01398, allocations: 0 / 284.1 MB, free: 6.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.01401, allocations: 45.39 kB / 284.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.01401, allocations: 0 / 284.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001088/0.0151, allocations: 0.6943 MB / 284.8 MB, free: 5.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.01515, allocations: 136.5 kB / 284.9 MB, free: 5.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.01528, allocations: 233.8 kB / 285.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.01529, allocations: 25.7 kB / 285.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.01536, allocations: 163.2 kB / 285.3 MB, free: 5.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.01539, allocations: 47.59 kB / 285.4 MB, free: 5.176 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.01544, allocations: 51.36 kB / 285.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01556, allocations: 0.4962 MB / 285.9 MB, free: 4.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.873e-05/0.01562, allocations: 39.91 kB / 286 MB, free: 4.57 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.808e-05/0.01572, allocations: 164.4 kB / 286.1 MB, free: 4.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01584, allocations: 93.58 kB / 286.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.01584, allocations: 0 / 286.2 MB, free: 4.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002432/0.01608, allocations: 182 kB / 286.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.0161, allocations: 4 kB / 286.4 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.01611, allocations: 3.938 kB / 286.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/0.01624, allocations: 35.59 kB / 286.4 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.01633, allocations: 27.98 kB / 286.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008658/0.01719, allocations: 1.748 MB / 288.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.01724, allocations: 8 kB / 288.2 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.01725, allocations: 4 kB / 288.2 MB, free: 2.141 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 9.483e-05/0.01734, allocations: 176.4 kB / 288.4 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.01737, allocations: 15.91 kB / 288.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.981e-05/0.0174, allocations: 25.47 kB / 288.4 MB, free: 1.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.0174, allocations: 4.031 kB / 288.4 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01741, allocations: 0 / 288.4 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01741, allocations: 4.062 kB / 288.5 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.01756, allocations: 168.6 kB / 288.6 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.01756, allocations: 7.922 kB / 288.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.01771, allocations: 47.97 kB / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01771, allocations: 0 / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01772, allocations: 0 / 288.7 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01772, allocations: 4 kB / 288.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01772, allocations: 0 / 288.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01794, allocations: 287.8 kB / 289 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.01796, allocations: 19.84 kB / 289 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.01797, allocations: 8 kB / 289 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.01802, allocations: 7.984 kB / 289 MB, free: 1.312 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.01805, allocations: 7.984 kB / 289 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01806, allocations: 4 kB / 289 MB, free: 1.301 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.992e-05/0.01812, allocations: 156.2 kB / 289.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01812, allocations: 0 / 289.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001089/0.01921, allocations: 0.5194 MB / 289.7 MB, free: 0.6289 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.0007091/0.01992, allocations: 0.663 MB / 290.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.0203, allocations: 344.2 kB / 290.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.02031, allocations: 0 / 290.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.02036, allocations: 54.98 kB / 290.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.0206, allocations: 36.34 kB / 290.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.02107, allocations: 330.6 kB / 291.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.124e-05/0.02112, allocations: 83.81 kB / 291.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.695e-05/0.02117, allocations: 33.06 kB / 291.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.02122, allocations: 16.5 kB / 291.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.02122, allocations: 0 / 291.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of Templates: time 0.01096/0.03218, allocations: 8.042 MB / 299.3 MB, free: 6.965 MB / 282.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1369274919852614]