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.001983/0.001983, 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.002406/0.002406, allocations: 217.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.544/1.544, allocations: 207.7 MB / 235.3 MB, free: 9.809 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.002198/0.002198, allocations: 58.58 kB / 347.7 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3102, allocations: 49.16 MB / 396.8 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002904/0.3131, allocations: 1.473 MB / 398.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3151, allocations: 0.8544 MB / 399.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.3152, allocations: 0 / 399.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.3153, allocations: 12.59 kB / 399.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.951e-05/0.3154, allocations: 15.34 kB / 399.2 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.3157, allocations: 54.48 kB / 399.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3159, allocations: 135.1 kB / 399.4 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.316, allocations: 12.19 kB / 399.4 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.3166, allocations: 396.7 kB / 399.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3168, allocations: 75.02 kB / 399.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.3168, allocations: 8.969 kB / 399.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.3168, allocations: 9.781 kB / 399.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.3169, allocations: 63.73 kB / 399.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.712e-05/0.317, allocations: 77.58 kB / 400 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.3175, allocations: 360.3 kB / 400.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3175, allocations: 1.219 kB / 400.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3175, allocations: 0 / 400.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.3175, allocations: 3.938 kB / 400.4 MB, free: 7.402 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.0006956/0.3182, allocations: 0.662 MB / 401 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3182, allocations: 21.33 kB / 401.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.115e-05/0.3183, allocations: 40.11 kB / 401.1 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3186, allocations: 209.1 kB / 401.3 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3186, allocations: 9.062 kB / 401.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.3187, allocations: 8.188 kB / 401.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.319, allocations: 242 kB / 401.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3191, allocations: 0 / 401.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3191, allocations: 6.75 kB / 401.6 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3191, allocations: 5.25 kB / 401.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3193, allocations: 175.5 kB / 401.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.3199, allocations: 384.7 kB / 402.1 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3202, allocations: 197.9 kB / 402.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.3203, allocations: 179.4 kB / 402.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.3204, allocations: 1.188 kB / 402.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003935/0.3207, allocations: 317.4 kB / 402.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3208, allocations: 0 / 402.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008501/0.3216, allocations: 0.6938 MB / 403.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.3217, allocations: 168 kB / 403.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.3223, allocations: 0.5169 MB / 404.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.3224, allocations: 32.98 kB / 404.2 MB, free: 4.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.3224, allocations: 101.1 kB / 404.3 MB, free: 4.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.3224, allocations: 35.61 kB / 404.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3226, allocations: 78.61 kB / 404.4 MB, free: 4.152 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.3226, allocations: 326.3 kB / 404.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3228, allocations: 177 kB / 404.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.323, allocations: 196.8 kB / 405.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.3232, allocations: 353.8 kB / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3232, allocations: 0 / 405.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005346/0.3238, allocations: 499.5 kB / 405.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.3238, allocations: 130.8 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3238, allocations: 2.141 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.3239, allocations: 0 / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.188e-05/0.3239, allocations: 1.438 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3239, allocations: 2.078 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.324, allocations: 10.72 kB / 406.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.3241, allocations: 37.36 kB / 406.1 MB, free: 2.688 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.0003338/0.3244, allocations: 361.1 kB / 406.5 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.3245, allocations: 40.3 kB / 406.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.3246, allocations: 68.27 kB / 406.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3246, allocations: 1.625 kB / 406.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3246, allocations: 0.6562 kB / 406.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3246, allocations: 0 / 406.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.3256, allocations: 0.8689 MB / 407.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3256, allocations: 0.7969 kB / 407.4 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-06/0.3256, allocations: 4 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3256, allocations: 0 / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.3256, allocations: 15.98 kB / 407.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3256, allocations: 0.9375 kB / 407.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3256, allocations: 1.781 kB / 407.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.3262, allocations: 0.6552 MB / 408.1 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.3266, allocations: 206.2 kB / 408.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.3267, allocations: 11.58 kB / 408.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3268, allocations: 10.83 kB / 408.3 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.3269, allocations: 24.38 kB / 408.4 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.327, allocations: 43.12 kB / 408.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000442/0.3274, allocations: 387.2 kB / 408.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3274, allocations: 0 / 408.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002909/0.3277, allocations: 50.56 kB / 408.8 MB, free: 0.8086 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.0001347/0.3278, allocations: 115.9 kB / 408.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.3284, allocations: 0.6041 MB / 409.5 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3284, allocations: 0 / 409.5 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.3288, allocations: 428.9 kB / 410 MB, free: 15.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006987/0.3294, allocations: 118.5 kB / 410.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3308, allocations: 0.7737 MB / 410.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3312, allocations: 200.4 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.807e-05/0.3312, allocations: 6.656 kB / 411.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3313, allocations: 12.36 kB / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3313, allocations: 0 / 411.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.009826/0.3411, allocations: 4.835 MB / 415.9 MB, free: 12.91 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/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: 4.8170810248702765]