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.001249/0.001249, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.001453/0.001453, allocations: 172.1 kB / 25.7 MB, free: 8.434 MB / 18.57 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 0.9911/0.9911, allocations: 158.6 MB / 187.6 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.242e-05, allocations: 2.312 kB / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002322/0.002344, allocations: 1.577 MB / 253.1 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003787, allocations: 0.8701 MB / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.003845, allocations: 0 / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.003933, allocations: 11.92 kB / 254 MB, free: 4.75 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.004012, allocations: 23.8 kB / 254.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.004278, allocations: 51.81 kB / 254.1 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.004473, allocations: 143.6 kB / 254.2 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.004562, allocations: 11.98 kB / 254.3 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.004941, allocations: 383.3 kB / 254.6 MB, free: 4.148 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.005047, allocations: 51.89 kB / 254.7 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.005076, allocations: 11.94 kB / 254.7 MB, free: 4.086 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.005099, allocations: 12 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.005173, allocations: 71.69 kB / 254.8 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.005239, allocations: 55.8 kB / 254.8 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.005478, allocations: 255.1 kB / 255.1 MB, free: 3.699 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005481, allocations: 4 kB / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005482, allocations: 0 / 255.1 MB, free: 3.695 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005487, allocations: 0 / 255.1 MB, free: 3.695 MB / 234.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.0005351/0.006022, allocations: 0.6225 MB / 255.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.006059, allocations: 19.97 kB / 255.7 MB, free: 3 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.006111, allocations: 24.92 kB / 255.7 MB, free: 2.977 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.006289, allocations: 212.1 kB / 256 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.00631, allocations: 8.312 kB / 256 MB, free: 2.734 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.006328, allocations: 12.36 kB / 256 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.006559, allocations: 229.7 kB / 256.2 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.006566, allocations: 4.188 kB / 256.2 MB, free: 2.461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.00658, allocations: 4.375 kB / 256.2 MB, free: 2.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.006585, allocations: 3.938 kB / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.006666, allocations: 154.8 kB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.006922, allocations: 208.2 kB / 256.6 MB, free: 2.059 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.007039, allocations: 165.4 kB / 256.7 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.007124, allocations: 155.7 kB / 256.9 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.00713, allocations: 0 / 256.9 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.007349, allocations: 309.3 kB / 257.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.007351, allocations: 0 / 257.2 MB, free: 1.332 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003645/0.007715, allocations: 0.5059 MB / 257.7 MB, free: 0.7461 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.007783, allocations: 170.2 kB / 257.9 MB, free: 0.543 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.008096, allocations: 371 kB / 258.2 MB, free: 172 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.008118, allocations: 29.7 kB / 258.2 MB, free: 136 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.631e-05/0.008154, allocations: 93.11 kB / 258.3 MB, free: 40 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.00818, allocations: 31.77 kB / 258.4 MB, free: 8 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.008264, allocations: 73.5 kB / 258.4 MB, free: 15.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.483e-05/0.008339, allocations: 330.8 kB / 258.8 MB, free: 15.6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.008422, allocations: 150.8 kB / 258.9 MB, free: 15.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.008502, allocations: 156.5 kB / 259.1 MB, free: 15.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.00866, allocations: 327.1 kB / 259.4 MB, free: 14.87 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.008662, allocations: 112 / 259.4 MB, free: 14.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002018/0.008864, allocations: 355.1 kB / 259.7 MB, free: 14.47 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-05/0.008928, allocations: 134.7 kB / 259.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008933, allocations: 0 / 259.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.008943, allocations: 0 / 259.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.462e-05/0.008958, allocations: 4.031 kB / 259.9 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.008961, allocations: 4 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.009039, allocations: 8 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.009079, allocations: 35.98 kB / 259.9 MB, free: 14.26 MB / 250.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.0002683/0.009348, allocations: 345.5 kB / 260.2 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.009385, allocations: 39.91 kB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.009469, allocations: 55.08 kB / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.009471, allocations: 0 / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.009472, allocations: 0 / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.009475, allocations: 7.938 kB / 260.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.009867, allocations: 0.5861 MB / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.009869, allocations: 0 / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-06/0.009874, allocations: 4 kB / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.009877, allocations: 3.938 kB / 260.9 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.009892, allocations: 7.984 kB / 260.9 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009894, allocations: 0 / 260.9 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009895, allocations: 0 / 260.9 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.01016, allocations: 0.4892 MB / 261.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.01034, allocations: 135.4 kB / 261.6 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.01037, allocations: 16 kB / 261.6 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.01044, allocations: 11.98 kB / 261.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.0105, allocations: 19.98 kB / 261.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.01055, allocations: 43.91 kB / 261.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.01076, allocations: 156.6 kB / 261.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01076, allocations: 0 / 261.8 MB, free: 12.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.01095, allocations: 43.94 kB / 261.9 MB, free: 12.14 MB / 250.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.838e-05/0.01104, allocations: 96.14 kB / 261.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003253/0.01137, allocations: 0.5625 MB / 262.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.01138, allocations: 4 kB / 262.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.01156, allocations: 408 kB / 262.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.01188, allocations: 133.7 kB / 263 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/0.01268, allocations: 0.7336 MB / 263.8 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.024e-05/0.01275, allocations: 95.27 kB / 263.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.01279, allocations: 8.719 kB / 263.9 MB, free: 9.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.01303, allocations: 151.4 kB / 264 MB, free: 9.715 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01303, allocations: 0 / 264 MB, free: 9.715 MB / 250.7 MB Notification: Performance of Templates: time 0.005602/0.01863, allocations: 4.356 MB / 268.4 MB, free: 5.371 MB / 250.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 240] 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","",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.7696203971281648]