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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 110.6 kB / 18.4 MB, free: 4.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 186.1 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07031/0.07146, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002376/0.07387, allocations: 1.524 MB / 377.3 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.0756, allocations: 0.8933 MB / 378.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.07565, allocations: 4 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.28e-05/0.07574, allocations: 3.938 kB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.07582, allocations: 27.78 kB / 378.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.07604, allocations: 39.95 kB / 378.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.07624, allocations: 155.7 kB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.07634, allocations: 15.98 kB / 378.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.07672, allocations: 379.3 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.07686, allocations: 63.7 kB / 378.9 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.07691, allocations: 12 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.07694, allocations: 8 kB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.07703, allocations: 67.7 kB / 379 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.07715, allocations: 115.2 kB / 379.1 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.07754, allocations: 350.7 kB / 379.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.07755, allocations: 0 / 379.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.07756, allocations: 0 / 379.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.07757, allocations: 0 / 379.5 MB, free: 0.9219 MB / 318.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.0006928/0.07826, allocations: 0.7227 MB / 380.2 MB, free: 128 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.07831, allocations: 16.02 kB / 380.2 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.07837, allocations: 32.56 kB / 380.2 MB, free: 80 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1462/0.2246, allocations: 270.7 kB / 380.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.2247, allocations: 6.406 kB / 380.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.2247, allocations: 11.19 kB / 380.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.225, allocations: 122.6 kB / 380.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.225, allocations: 1.375 kB / 380.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.2251, allocations: 3.406 kB / 380.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2251, allocations: 1.375 kB / 380.6 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.2252, allocations: 67.14 kB / 380.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.2258, allocations: 452.9 kB / 381.1 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.226, allocations: 96.88 kB / 381.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.2261, allocations: 82.23 kB / 381.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2262, allocations: 6.516 kB / 381.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.2265, allocations: 202.7 kB / 381.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.2265, allocations: 2.156 kB / 381.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007016/0.2272, allocations: 466.7 kB / 382 MB, free: 12.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.2273, allocations: 166.9 kB / 382.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006242/0.2279, allocations: 0.514 MB / 382.7 MB, free: 12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.2279, allocations: 33.05 kB / 382.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.228, allocations: 98.23 kB / 382.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.228, allocations: 42.17 kB / 382.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2282, allocations: 79.41 kB / 382.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.2282, allocations: 320.5 kB / 383.2 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.2283, allocations: 56.22 kB / 383.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2285, allocations: 77.42 kB / 383.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.2288, allocations: 337.4 kB / 383.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2288, allocations: 0.7812 kB / 383.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005119/0.2293, allocations: 376.4 kB / 384 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.2293, allocations: 127.3 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2294, allocations: 3.875 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2294, allocations: 4.75 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.2294, allocations: 1.984 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2294, allocations: 1.812 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.2296, allocations: 13.52 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.2296, allocations: 39.08 kB / 384.2 MB, free: 10.88 MB / 318.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.0002602/0.2299, allocations: 366.8 kB / 384.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.2299, allocations: 42.62 kB / 384.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/0.23, allocations: 69.83 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.23, allocations: 0.5156 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.23, allocations: 0.7031 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.2303, allocations: 251.1 kB / 384.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.2303, allocations: 10.72 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2305, allocations: 10.61 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.731e-05/0.2306, allocations: 23.72 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005337/0.2311, allocations: 0.6967 MB / 385.7 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005477/0.2317, allocations: 0.5969 MB / 386.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/0.2318, allocations: 143.8 kB / 386.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004246/0.2323, allocations: 387 kB / 386.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of Backend: time 5.71e-07/0.2323, allocations: 2.781 kB / 386.8 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.2328, allocations: 452.5 kB / 387.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of SimCode: time 0.001095/0.234, allocations: 1.309 MB / 388.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of Templates: time 0.006914/0.2409, allocations: 3.818 MB / 392.4 MB, free: 7.246 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches