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.001745/0.001745, allocations: 78.88 kB / 20.68 MB, free: 1.039 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.001623/0.001623, allocations: 149.6 kB / 23.94 MB, free: 4.176 MB / 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.432/1.432, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.303e-06/1.303e-06, allocations: 0 / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.724e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002385/0.002412, allocations: 1.468 MB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.004082, allocations: 0.8102 MB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.004132, allocations: 1.062 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.004228, allocations: 9.672 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.004307, allocations: 21.61 kB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.004549, allocations: 61.2 kB / 321.3 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.004744, allocations: 136.7 kB / 321.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.429e-05/0.004838, allocations: 16.45 kB / 321.4 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.005376, allocations: 409.3 kB / 321.8 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.005515, allocations: 60.7 kB / 321.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.005565, allocations: 8.562 kB / 321.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.005603, allocations: 11.03 kB / 321.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.869e-05/0.005692, allocations: 68.66 kB / 322 MB, free: 1.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.005786, allocations: 56 kB / 322 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.006194, allocations: 353.7 kB / 322.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.006197, allocations: 1.188 kB / 322.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006198, allocations: 0 / 322.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.006203, allocations: 3.938 kB / 322.4 MB, free: 1.648 MB / 286.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.000631/0.006834, allocations: 0.6565 MB / 323 MB, free: 1.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.006873, allocations: 10.47 kB / 323.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.00694, allocations: 40.2 kB / 323.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.007158, allocations: 217.5 kB / 323.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.007181, allocations: 4.25 kB / 323.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.007209, allocations: 6.875 kB / 323.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.007548, allocations: 248.3 kB / 323.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.007559, allocations: 192 / 323.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.007582, allocations: 4.688 kB / 323.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.007587, allocations: 5.812 kB / 323.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.007755, allocations: 184.8 kB / 323.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.008301, allocations: 384.5 kB / 324.1 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.008501, allocations: 191.3 kB / 324.3 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.008741, allocations: 180 kB / 324.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.008757, allocations: 5.312 kB / 324.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.009225, allocations: 322.2 kB / 324.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.009227, allocations: 3.938 kB / 324.8 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001126/0.01035, allocations: 0.6945 MB / 325.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.01049, allocations: 167 kB / 325.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.0113, allocations: 0.5176 MB / 326.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.01134, allocations: 29.83 kB / 326.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.01144, allocations: 104.8 kB / 326.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.01149, allocations: 36.02 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.01163, allocations: 76.48 kB / 326.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.0118, allocations: 323 kB / 326.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.01202, allocations: 178.6 kB / 326.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.01226, allocations: 192.5 kB / 327.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.01267, allocations: 354.6 kB / 327.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01268, allocations: 4.969 kB / 327.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007021/0.01338, allocations: 0.4956 MB / 328 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.0135, allocations: 131.5 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.0135, allocations: 0.6094 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01352, allocations: 1.312 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.01354, allocations: 1.703 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.01355, allocations: 1.469 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.0137, allocations: 10.05 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.01377, allocations: 38.66 kB / 328.1 MB, free: 12.95 MB / 302.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.0005068/0.01427, allocations: 373.4 kB / 328.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.871e-05/0.01437, allocations: 44.02 kB / 328.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.01451, allocations: 61.56 kB / 328.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01452, allocations: 1.188 kB / 328.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.01453, allocations: 3.938 kB / 328.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.01453, allocations: 0.5625 kB / 328.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.0158, allocations: 0.8656 MB / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01581, allocations: 0 / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-06/0.01581, allocations: 1.344 kB / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.01582, allocations: 0.8438 kB / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.01585, allocations: 15.11 kB / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01585, allocations: 5.406 kB / 329.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01585, allocations: 4.562 kB / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.01672, allocations: 0.6543 MB / 330.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.01712, allocations: 209.4 kB / 330.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.01718, allocations: 11.2 kB / 330.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.01732, allocations: 11.33 kB / 330.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.01745, allocations: 25.53 kB / 330.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.014e-05/0.01751, allocations: 38.77 kB / 330.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005843/0.01809, allocations: 388.5 kB / 330.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01809, allocations: 0 / 330.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.01841, allocations: 49.94 kB / 330.9 MB, free: 11.07 MB / 302.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.0002134/0.01862, allocations: 114.2 kB / 331 MB, free: 10.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000838/0.01946, allocations: 0.6053 MB / 331.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01946, allocations: 0 / 331.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005139/0.01998, allocations: 424.6 kB / 332 MB, free: 9.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.02072, allocations: 127.1 kB / 332.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.02197, allocations: 0.7759 MB / 332.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.02227, allocations: 200.3 kB / 333.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.566e-05/0.02232, allocations: 9.203 kB / 333.1 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.02235, allocations: 13.72 kB / 333.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.02235, allocations: 3.938 kB / 333.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of Templates: time 0.01027/0.03262, allocations: 4.76 MB / 337.9 MB, free: 7.277 MB / 302.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.370792582631111]