Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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.001986/0.001986, allocations: 113.4 kB / 21.93 MB, free: 5.219 MB / 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.002482/0.002482, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.756/1.756, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [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.00188/0.00188, allocations: 67.84 kB / 348.4 MB, free: 9.387 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3011, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002609/0.3037, allocations: 1.478 MB / 399.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3057, allocations: 0.8496 MB / 399.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.3057, allocations: 1.156 kB / 399.9 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.3058, allocations: 11.91 kB / 399.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.689e-05/0.3059, allocations: 13.89 kB / 400 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3062, allocations: 58.69 kB / 400 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.3064, allocations: 134.8 kB / 400.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3066, allocations: 12.81 kB / 400.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.3072, allocations: 399.6 kB / 400.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3074, allocations: 63.8 kB / 400.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.3074, allocations: 9.594 kB / 400.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.119e-05/0.3075, allocations: 9.938 kB / 400.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.3076, allocations: 66.55 kB / 400.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3077, allocations: 75.06 kB / 400.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.3082, allocations: 364.9 kB / 401.1 MB, free: 7.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3082, allocations: 4 kB / 401.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3082, allocations: 1.188 kB / 401.1 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3082, allocations: 0 / 401.1 MB, free: 7.434 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007049/0.3089, allocations: 0.6657 MB / 401.8 MB, free: 6.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3089, allocations: 13.95 kB / 401.8 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.309, allocations: 42.8 kB / 401.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3093, allocations: 209.3 kB / 402 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3093, allocations: 6.125 kB / 402.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3093, allocations: 6.281 kB / 402.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3096, allocations: 246.2 kB / 402.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3096, allocations: 4 kB / 402.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.3097, allocations: 8.734 kB / 402.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3097, allocations: 1.094 kB / 402.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.3099, allocations: 175.4 kB / 402.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.3105, allocations: 387.9 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3107, allocations: 194.6 kB / 403.1 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3109, allocations: 180.1 kB / 403.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3109, allocations: 0 / 403.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.3112, allocations: 317.5 kB / 403.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.3112, allocations: 4 kB / 403.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008609/0.3121, allocations: 0.6928 MB / 404.2 MB, free: 4.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.3121, allocations: 167.6 kB / 404.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.3128, allocations: 0.5215 MB / 404.9 MB, free: 4.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3128, allocations: 29.92 kB / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.3129, allocations: 100.8 kB / 405.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.3129, allocations: 32.12 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.313, allocations: 77.27 kB / 405.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.3131, allocations: 326 kB / 405.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3133, allocations: 177.8 kB / 405.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3134, allocations: 203.2 kB / 405.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3137, allocations: 350.7 kB / 406.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3137, allocations: 0.5625 kB / 406.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000491/0.3142, allocations: 498.5 kB / 406.7 MB, free: 2.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.3142, allocations: 127.9 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3142, allocations: 1.609 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3142, allocations: 0.9375 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.099e-05/0.3143, allocations: 2.016 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3143, allocations: 1.094 kB / 406.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3144, allocations: 14.55 kB / 406.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.3145, allocations: 38.22 kB / 406.9 MB, free: 2.715 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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 prepare postOptimizeDAE: time 0.000293/0.3148, allocations: 361 kB / 407.2 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.3148, allocations: 42.86 kB / 407.3 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3149, allocations: 61.7 kB / 407.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3149, allocations: 1.281 kB / 407.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3149, allocations: 0 / 407.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3149, allocations: 0.6094 kB / 407.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008818/0.3158, allocations: 0.8599 MB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3158, allocations: 4.703 kB / 408.2 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.3158, allocations: 9.578 kB / 408.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3158, allocations: 0 / 408.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3158, allocations: 15.56 kB / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3158, allocations: 1.531 kB / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3158, allocations: 0 / 408.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.3164, allocations: 0.6524 MB / 408.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.3168, allocations: 201.9 kB / 409.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.3168, allocations: 12.25 kB / 409.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.317, allocations: 17.75 kB / 409.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.3171, allocations: 25.19 kB / 409.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.3171, allocations: 45.7 kB / 409.2 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000444/0.3176, allocations: 389 kB / 409.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3176, allocations: 0 / 409.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.3179, allocations: 49.19 kB / 409.6 MB, free: 0.8359 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001072/0.318, allocations: 112.3 kB / 409.7 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005103/0.3185, allocations: 0.6086 MB / 410.3 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3185, allocations: 0 / 410.3 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.3189, allocations: 423.7 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.3195, allocations: 125.5 kB / 410.8 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3209, allocations: 0.819 MB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3212, allocations: 196.1 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3212, allocations: 12.05 kB / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3212, allocations: 1.5 kB / 411.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.005701/0.3269, allocations: 2.514 MB / 414.4 MB, free: 14.09 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.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: 8.136131873354316]