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.00155/0.00155, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.000864/0.000864, allocations: 144.9 kB / 24.89 MB, free: 8.797 MB / 18.57 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 0.9676/0.9676, allocations: 173.4 MB / 201.5 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] 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.874e-06/1.874e-06, allocations: 3.938 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.697e-05, allocations: 6.312 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002149/0.002176, allocations: 1.567 MB / 270.1 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003732, allocations: 0.834 MB / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.003782, allocations: 0 / 270.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.303e-05/0.003875, allocations: 15.86 kB / 270.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.003965, allocations: 27.8 kB / 271 MB, free: 3.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004222, allocations: 51.81 kB / 271 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.004392, allocations: 143.7 kB / 271.1 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.004467, allocations: 11.98 kB / 271.2 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.004834, allocations: 391.2 kB / 271.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.004936, allocations: 51.83 kB / 271.6 MB, free: 3.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.004964, allocations: 8 kB / 271.6 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.398e-05/0.004988, allocations: 12 kB / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.005059, allocations: 63.72 kB / 271.7 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.679e-05/0.005125, allocations: 59.72 kB / 271.7 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.00536, allocations: 259.1 kB / 272 MB, free: 2.656 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005362, allocations: 7.938 kB / 272 MB, free: 2.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005363, allocations: 0 / 272 MB, free: 2.648 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.005367, allocations: 0 / 272 MB, free: 2.648 MB / 250.7 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.0006073/0.005974, allocations: 0.6148 MB / 272.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.006019, allocations: 12.92 kB / 272.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.006072, allocations: 28.91 kB / 272.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.006271, allocations: 216 kB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.006289, allocations: 4.375 kB / 272.9 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.006305, allocations: 8.375 kB / 272.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.006564, allocations: 225.7 kB / 273.1 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.006574, allocations: 4.188 kB / 273.1 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.006588, allocations: 4.375 kB / 273.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.006595, allocations: 7.938 kB / 273.1 MB, free: 1.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.962e-05/0.006685, allocations: 150.7 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.00696, allocations: 204.2 kB / 273.5 MB, free: 1.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.00709, allocations: 173.3 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.093e-05/0.007181, allocations: 155.7 kB / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.007187, allocations: 0 / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.007387, allocations: 301.4 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.007388, allocations: 0 / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003897/0.007778, allocations: 0.5211 MB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.00785, allocations: 170.2 kB / 274.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.008145, allocations: 363.1 kB / 275.1 MB, free: 15.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.008166, allocations: 33.7 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.316e-05/0.008209, allocations: 97.06 kB / 275.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.008238, allocations: 27.78 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.008316, allocations: 77.59 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.008401, allocations: 330.8 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.008491, allocations: 146.7 kB / 275.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.008582, allocations: 172.5 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.008747, allocations: 311.2 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008749, allocations: 0 / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002256/0.008975, allocations: 351.2 kB / 276.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.009045, allocations: 134.7 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.00905, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.009062, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.00908, allocations: 8.031 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.009084, allocations: 0 / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.009172, allocations: 11.98 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.00921, allocations: 32 kB / 276.8 MB, free: 13.23 MB / 266.7 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.0002406/0.00945, allocations: 345.3 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.009489, allocations: 39.91 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.393e-05/0.009573, allocations: 55.08 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.009575, allocations: 0 / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.009577, allocations: 0 / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.00958, allocations: 4 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.01001, allocations: 0.59 MB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01001, allocations: 0 / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-06/0.01002, allocations: 7.938 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.01002, allocations: 3.938 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.01004, allocations: 4 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01004, allocations: 0 / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01004, allocations: 0 / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.01032, allocations: 0.4931 MB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.01053, allocations: 147.4 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.01056, allocations: 11.98 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.01063, allocations: 16 kB / 278.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.01069, allocations: 15.98 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.01073, allocations: 40.11 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.01088, allocations: 156.6 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01088, allocations: 0 / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.01105, allocations: 40 kB / 278.8 MB, free: 11.11 MB / 266.7 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 9.902e-05/0.01115, allocations: 104.1 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004565/0.01161, allocations: 0.5547 MB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.01161, allocations: 4 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.01182, allocations: 408.1 kB / 279.8 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.01216, allocations: 126.8 kB / 279.9 MB, free: 9.742 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.01292, allocations: 0.7379 MB / 280.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.741e-05/0.01299, allocations: 95.27 kB / 280.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.01302, allocations: 12.7 kB / 280.8 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.01325, allocations: 151.6 kB / 280.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01326, allocations: 0 / 280.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of Templates: time 0.005483/0.01874, allocations: 4.366 MB / 285.3 MB, free: 4.375 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.407640084158629]