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.002086/0.002086, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002626/0.002626, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.511/1.511, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 54.59 kB / 347.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3375, allocations: 49.16 MB / 396.8 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003441/0.3409, allocations: 1.571 MB / 398.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006306/0.3472, allocations: 2.993 MB / 401.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3473, allocations: 6.188 kB / 401.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.3477, allocations: 54.53 kB / 401.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.3478, allocations: 15.36 kB / 401.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.3526, allocations: 1.466 MB / 402.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.3529, allocations: 147.1 kB / 403.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3531, allocations: 14.53 kB / 403.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/0.3532, allocations: 58.17 kB / 403.2 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3533, allocations: 52.53 kB / 403.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3533, allocations: 7.406 kB / 403.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.3556, allocations: 1.429 MB / 404.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.299e-05/0.3557, allocations: 37.44 kB / 404.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.902e-05/0.3558, allocations: 44.25 kB / 404.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.3574, allocations: 1.222 MB / 405.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3574, allocations: 0.6094 kB / 405.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3574, allocations: 0 / 405.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3574, allocations: 0 / 405.9 MB, free: 5.215 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001055/0.3585, allocations: 0.494 MB / 406.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.3585, allocations: 14.08 kB / 406.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.309e-05/0.3586, allocations: 15 kB / 406.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.3588, allocations: 154.5 kB / 406.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3588, allocations: 8.438 kB / 406.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.3589, allocations: 11.39 kB / 406.6 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3592, allocations: 209.8 kB / 406.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3592, allocations: 0.5625 kB / 406.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3592, allocations: 1.531 kB / 406.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3592, allocations: 1.188 kB / 406.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.3594, allocations: 56.83 kB / 406.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.3599, allocations: 313.5 kB / 407.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.3603, allocations: 125.2 kB / 407.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.409e-05/0.3604, allocations: 39.58 kB / 407.4 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.3604, allocations: 5.625 kB / 407.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3604, allocations: 35.72 kB / 407.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3604, allocations: 1.281 kB / 407.4 MB, free: 4.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001986/0.3624, allocations: 0.9943 MB / 408.4 MB, free: 3.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.3624, allocations: 136.2 kB / 408.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.3626, allocations: 179.2 kB / 408.7 MB, free: 3.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3626, allocations: 26.83 kB / 408.7 MB, free: 3.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3627, allocations: 123.3 kB / 408.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.3627, allocations: 54.05 kB / 408.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/0.3628, allocations: 43.7 kB / 409 MB, free: 2.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.3629, allocations: 328 kB / 409.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3631, allocations: 93.94 kB / 409.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.3633, allocations: 211.1 kB / 409.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.3637, allocations: 204.8 kB / 409.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3637, allocations: 3.938 kB / 409.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005541/0.3642, allocations: 302 kB / 410.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3643, allocations: 12.62 kB / 410.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.3643, allocations: 2.344 kB / 410.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000221/0.3645, allocations: 45.97 kB / 410.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3647, allocations: 31.05 kB / 410.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/0.3657, allocations: 1.39 MB / 411.6 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.3658, allocations: 16.08 kB / 411.6 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.3658, allocations: 12.02 kB / 411.6 MB, free: 0.6133 MB / 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 (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.0001188/0.366, allocations: 138.5 kB / 411.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.366, allocations: 14.31 kB / 411.7 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.3661, allocations: 20.03 kB / 411.7 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.3661, allocations: 2.719 kB / 411.8 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3661, allocations: 0 / 411.8 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3661, allocations: 0 / 411.8 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.3663, allocations: 177.2 kB / 411.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3663, allocations: 5.375 kB / 411.9 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3665, allocations: 51.97 kB / 412 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3665, allocations: 5.547 kB / 412 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3665, allocations: 0 / 412 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3665, allocations: 1.438 kB / 412 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3665, allocations: 0 / 412 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.3671, allocations: 410.8 kB / 412.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.3671, allocations: 12.22 kB / 412.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3671, allocations: 6.062 kB / 412.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3672, allocations: 7.094 kB / 412.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3673, allocations: 11.36 kB / 412.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3673, allocations: 7.156 kB / 412.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3674, allocations: 125.8 kB / 412.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3674, allocations: 0 / 412.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003571/0.371, allocations: 0.5182 MB / 413.1 MB, free: 15.84 MB / 334.1 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.001463/0.3725, allocations: 0.5558 MB / 413.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.3733, allocations: 383.5 kB / 414 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3733, allocations: 0 / 414 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3735, allocations: 82.36 kB / 414.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3738, allocations: 35.78 kB / 414.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.3748, allocations: 414.6 kB / 414.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3749, allocations: 120.9 kB / 414.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.375, allocations: 27.72 kB / 414.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3751, allocations: 16.44 kB / 414.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3751, allocations: 0 / 414.7 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Templates: time 0.02122/0.3963, allocations: 8.088 MB / 422.8 MB, free: 8.711 MB / 334.1 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: 5.018314991146326]