Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 250.8 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 43.92 kB / 368.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3487, allocations: 52.14 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003209/0.3519, allocations: 1.545 MB / 422.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.3541, allocations: 0.8596 MB / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.3542, allocations: 0 / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.3543, allocations: 11.86 kB / 423.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3544, allocations: 15.86 kB / 423.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.3548, allocations: 51.88 kB / 423.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.355, allocations: 135.7 kB / 423.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3551, allocations: 23.92 kB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004925/0.3556, allocations: 387.2 kB / 423.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3558, allocations: 71.69 kB / 423.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.3558, allocations: 8 kB / 424 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.858e-05/0.3558, allocations: 12 kB / 424 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3559, allocations: 63.7 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3561, allocations: 107.2 kB / 424.1 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.3565, allocations: 367.7 kB / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3565, allocations: 0 / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3565, allocations: 0 / 424.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3565, allocations: 4 kB / 424.5 MB, free: 11.49 MB / 334.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.0008615/0.3573, allocations: 0.7382 MB / 425.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3574, allocations: 12.03 kB / 425.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.3575, allocations: 36.7 kB / 425.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3578, allocations: 278.7 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.3578, allocations: 4.375 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.3579, allocations: 8.375 kB / 425.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3582, allocations: 133 kB / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3582, allocations: 0 / 425.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.3582, allocations: 12 kB / 425.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.3582, allocations: 0 / 425.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3584, allocations: 55.97 kB / 425.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.359, allocations: 456.5 kB / 426.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3592, allocations: 78.48 kB / 426.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3593, allocations: 56.89 kB / 426.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3594, allocations: 4 kB / 426.3 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.3597, allocations: 202.7 kB / 426.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3598, allocations: 0 / 426.5 MB, free: 9.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008624/0.3606, allocations: 468.1 kB / 427 MB, free: 8.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.3607, allocations: 166.2 kB / 427.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.3614, allocations: 0.513 MB / 427.7 MB, free: 8.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3614, allocations: 29.7 kB / 427.7 MB, free: 7.988 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.3615, allocations: 105.1 kB / 427.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3615, allocations: 27.81 kB / 427.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3617, allocations: 81.55 kB / 427.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3618, allocations: 326.8 kB / 428.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.362, allocations: 51.97 kB / 428.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.3621, allocations: 81.69 kB / 428.4 MB, free: 7.305 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3625, allocations: 347.4 kB / 428.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3625, allocations: 0 / 428.7 MB, free: 6.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000547/0.363, allocations: 379.2 kB / 429.1 MB, free: 6.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.3631, allocations: 126.7 kB / 429.2 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3631, allocations: 3.938 kB / 429.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3631, allocations: 0 / 429.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.373e-05/0.3632, allocations: 4 kB / 429.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3632, allocations: 0 / 429.2 MB, free: 6.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.3633, allocations: 15.98 kB / 429.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.3634, allocations: 36 kB / 429.3 MB, free: 6.305 MB / 334.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.0003961/0.3638, allocations: 374.2 kB / 429.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.3638, allocations: 43.75 kB / 429.7 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3639, allocations: 67.14 kB / 429.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3639, allocations: 0 / 429.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3639, allocations: 0 / 429.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.364, allocations: 0 / 429.7 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.365, allocations: 0.8094 MB / 430.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.365, allocations: 0 / 430.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.365, allocations: 4 kB / 430.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.365, allocations: 0 / 430.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.3651, allocations: 16 kB / 430.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3651, allocations: 0 / 430.6 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.3651, allocations: 7.922 kB / 430.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/0.3658, allocations: 0.5215 MB / 431.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.3662, allocations: 248.6 kB / 431.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.3662, allocations: 12 kB / 431.3 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3663, allocations: 15.98 kB / 431.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3665, allocations: 27.91 kB / 431.4 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.3666, allocations: 40.12 kB / 431.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005668/0.3671, allocations: 394.8 kB / 431.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3671, allocations: 0 / 431.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.3674, allocations: 48 kB / 431.9 MB, free: 3.531 MB / 334.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.0002205/0.3676, allocations: 115 kB / 432 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005795/0.3682, allocations: 377.5 kB / 432.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3682, allocations: 0 / 432.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.3686, allocations: 301.6 kB / 432.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000638/0.3692, allocations: 119.4 kB / 432.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3705, allocations: 0.6687 MB / 433.4 MB, free: 1.844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.3712, allocations: 0.806 MB / 434.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.392e-05/0.3712, allocations: 12.64 kB / 434.2 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.3713, allocations: 11.44 kB / 434.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3713, allocations: 0 / 434.2 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Templates: time 0.009216/0.3805, allocations: 4.432 MB / 438.7 MB, free: 12.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.625112716108561]