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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_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.00136/0.00136, allocations: 111 kB / 17.75 MB, free: 5.355 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.001542/0.001542, allocations: 186.5 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009818/0.0009818, allocations: 55.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2723, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002476/0.2748, allocations: 1.525 MB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.2767, allocations: 0.8481 MB / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.2768, allocations: 0 / 403.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.7e-05/0.2769, allocations: 7.875 kB / 403.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.277, allocations: 23.84 kB / 403.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.2773, allocations: 51.89 kB / 403.9 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.2775, allocations: 139.7 kB / 404 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2776, allocations: 35.95 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.278, allocations: 379.3 kB / 404.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.2781, allocations: 67.77 kB / 404.5 MB, free: 5.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.2782, allocations: 12 kB / 404.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.599e-05/0.2782, allocations: 8 kB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.2783, allocations: 67.7 kB / 404.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2784, allocations: 115.2 kB / 404.7 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.2788, allocations: 358.7 kB / 405 MB, free: 5.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2788, allocations: 3.938 kB / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2788, allocations: 0 / 405 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2788, allocations: 0 / 405 MB, free: 5.266 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.0007191/0.2795, allocations: 0.7199 MB / 405.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2796, allocations: 8.031 kB / 405.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.2797, allocations: 40.56 kB / 405.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.2799, allocations: 278.2 kB / 406.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.28, allocations: 8.375 kB / 406.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.28, allocations: 8.375 kB / 406.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2803, allocations: 137 kB / 406.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2803, allocations: 0 / 406.2 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/0.2803, allocations: 7.984 kB / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2804, allocations: 0 / 406.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.2805, allocations: 59.91 kB / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.2811, allocations: 456.5 kB / 406.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.2813, allocations: 98.53 kB / 406.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.2815, allocations: 84.83 kB / 406.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.2815, allocations: 0 / 406.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.2818, allocations: 206.7 kB / 407.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.2819, allocations: 0 / 407.1 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000787/0.2826, allocations: 464 kB / 407.6 MB, free: 2.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.2827, allocations: 166.2 kB / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/0.2834, allocations: 0.5168 MB / 408.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2835, allocations: 29.7 kB / 408.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.2835, allocations: 105 kB / 408.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.2836, allocations: 23.7 kB / 408.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2837, allocations: 77.42 kB / 408.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2838, allocations: 330.8 kB / 408.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2839, allocations: 55.97 kB / 408.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2841, allocations: 77.61 kB / 408.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.2844, allocations: 343.2 kB / 409.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2844, allocations: 0 / 409.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004892/0.2849, allocations: 366.5 kB / 409.6 MB, free: 284 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.285, allocations: 126.8 kB / 409.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.285, allocations: 0 / 409.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.285, allocations: 11.92 kB / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.9e-05/0.2851, allocations: 0 / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2851, allocations: 0 / 409.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2852, allocations: 16.02 kB / 409.8 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.2853, allocations: 47.92 kB / 409.8 MB, free: 56 kB / 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.0003376/0.2856, allocations: 358.2 kB / 410.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.2857, allocations: 35.62 kB / 410.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.747e-05/0.2858, allocations: 75.08 kB / 410.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2858, allocations: 0 / 410.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2858, allocations: 4 kB / 410.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.2861, allocations: 240.4 kB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.2862, allocations: 8 kB / 410.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2863, allocations: 19.92 kB / 410.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2864, allocations: 24.09 kB / 410.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006896/0.2871, allocations: 0.6927 MB / 411.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006535/0.2878, allocations: 0.5988 MB / 411.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001925/0.288, allocations: 148 kB / 412 MB, free: 13.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004579/0.2884, allocations: 382.9 kB / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Backend: time 1.092e-06/0.2884, allocations: 4 kB / 412.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007299/0.2892, allocations: 447.9 kB / 412.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of SimCode: time 0.001402/0.2906, allocations: 1.322 MB / 414.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of Templates: time 0.007089/0.2977, allocations: 3.822 MB / 418 MB, free: 7.605 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches