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.002051/0.002051, allocations: 96.3 kB / 21.73 MB, free: 2.695 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.002542/0.002542, allocations: 162.2 kB / 25.02 MB, free: 8.43 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 1.466/1.466, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.663e-05/3.874e-05, allocations: 6.109 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003431/0.00347, allocations: 1.486 MB / 251.9 MB, free: 6.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.006113, allocations: 0.8403 MB / 252.7 MB, free: 5.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.006177, allocations: 3.938 kB / 252.7 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.006306, allocations: 11.92 kB / 252.7 MB, free: 5.465 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.006413, allocations: 23.8 kB / 252.7 MB, free: 5.441 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.006773, allocations: 51.81 kB / 252.8 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.007075, allocations: 135.7 kB / 252.9 MB, free: 5.258 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.007207, allocations: 23.92 kB / 252.9 MB, free: 5.234 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000634/0.007841, allocations: 407.3 kB / 253.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.008026, allocations: 59.81 kB / 253.4 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.008074, allocations: 8 kB / 253.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.222e-05/0.008117, allocations: 12 kB / 253.4 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.008234, allocations: 71.66 kB / 253.5 MB, free: 4.688 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.008348, allocations: 51.8 kB / 253.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.008833, allocations: 354.8 kB / 253.9 MB, free: 4.289 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.00884, allocations: 4 kB / 253.9 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.803e-06/0.008847, allocations: 3.984 kB / 253.9 MB, free: 4.281 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.008853, allocations: 0 / 253.9 MB, free: 4.281 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.0009371/0.00979, allocations: 0.6552 MB / 254.5 MB, free: 3.57 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.009836, allocations: 11.98 kB / 254.6 MB, free: 3.559 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.009961, allocations: 44.7 kB / 254.6 MB, free: 3.516 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.01029, allocations: 216.1 kB / 254.8 MB, free: 3.277 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.01031, allocations: 4.375 kB / 254.8 MB, free: 3.273 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.01034, allocations: 8.375 kB / 254.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004462/0.01079, allocations: 248.9 kB / 255.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.0108, allocations: 192 / 255.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01082, allocations: 4.375 kB / 255.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.01084, allocations: 7.922 kB / 255.1 MB, free: 2.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.01111, allocations: 178.8 kB / 255.3 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.01182, allocations: 380.2 kB / 255.6 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.01214, allocations: 193.3 kB / 255.8 MB, free: 2.156 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.01238, allocations: 179.7 kB / 256 MB, free: 1.953 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.0124, allocations: 8.047 kB / 256 MB, free: 1.945 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005563/0.01296, allocations: 321.4 kB / 256.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.01296, allocations: 0 / 256.3 MB, free: 1.578 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.001188/0.01415, allocations: 0.7049 MB / 257 MB, free: 0.793 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.01431, allocations: 174.2 kB / 257.2 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.01509, allocations: 0.5168 MB / 257.7 MB, free: 60 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.01513, allocations: 33.7 kB / 257.7 MB, free: 20 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.01524, allocations: 97.12 kB / 257.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.01529, allocations: 35.72 kB / 257.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.01542, allocations: 77.52 kB / 257.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.01561, allocations: 322.8 kB / 258.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.01586, allocations: 178.8 kB / 258.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.0161, allocations: 192.5 kB / 258.6 MB, free: 15.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.01684, allocations: 351 kB / 259 MB, free: 14.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01684, allocations: 0 / 259 MB, free: 14.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007399/0.01758, allocations: 0.503 MB / 259.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.01771, allocations: 126.8 kB / 259.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.01773, allocations: 80 / 259.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.01775, allocations: 0 / 259.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.771e-05/0.01778, allocations: 8.125 kB / 259.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.01779, allocations: 3.984 kB / 259.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.01794, allocations: 19.94 kB / 259.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.01801, allocations: 40 kB / 259.7 MB, free: 13.89 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.0004436/0.01846, allocations: 358.4 kB / 260 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.01854, allocations: 55.73 kB / 260.1 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.01866, allocations: 63.09 kB / 260.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.01867, allocations: 7.984 kB / 260.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01868, allocations: 0 / 260.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01868, allocations: 3.938 kB / 260.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.01992, allocations: 0.8627 MB / 261 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01992, allocations: 0 / 261 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-06/0.01992, allocations: 0 / 261 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.01992, allocations: 0 / 261 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.01996, allocations: 15.98 kB / 261 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01996, allocations: 0 / 261 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01996, allocations: 4 kB / 261 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.02086, allocations: 0.6609 MB / 261.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.02124, allocations: 201.3 kB / 261.9 MB, free: 11.49 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.02131, allocations: 12 kB / 261.9 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02145, allocations: 11.98 kB / 261.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.02157, allocations: 19.98 kB / 261.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.02163, allocations: 47.92 kB / 262 MB, free: 11.4 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005657/0.0222, allocations: 390.8 kB / 262.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0222, allocations: 0 / 262.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.02251, allocations: 44 kB / 262.4 MB, free: 10.98 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 0.0001927/0.0227, allocations: 123.1 kB / 262.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.0235, allocations: 0.6046 MB / 263.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0235, allocations: 0 / 263.1 MB, free: 10.14 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004772/0.02398, allocations: 428.3 kB / 263.5 MB, free: 9.648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.02468, allocations: 135.3 kB / 263.7 MB, free: 9.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.02613, allocations: 0.793 MB / 264.5 MB, free: 8.672 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.02644, allocations: 205.5 kB / 264.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.0265, allocations: 4.734 kB / 264.7 MB, free: 8.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.02653, allocations: 12.5 kB / 264.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02653, allocations: 0 / 264.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of Templates: time 0.01022/0.03675, allocations: 4.758 MB / 269.4 MB, free: 3.691 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=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.526121988077648]