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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001246, allocations: 107.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 35.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2973, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00219/0.2995, allocations: 1.584 MB / 401 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.301, allocations: 0.8655 MB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.301, allocations: 4 kB / 401.9 MB, free: 30.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3012, allocations: 7.922 kB / 401.9 MB, free: 30.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.422e-05/0.3012, allocations: 19.86 kB / 401.9 MB, free: 30.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3015, allocations: 40.47 kB / 402 MB, free: 30.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3016, allocations: 115.7 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3017, allocations: 19.97 kB / 402.1 MB, free: 30.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.302, allocations: 375.3 kB / 402.5 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.3021, allocations: 59.77 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.3022, allocations: 4 kB / 402.5 MB, free: 30.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.908e-05/0.3022, allocations: 8 kB / 402.6 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.3023, allocations: 75.62 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.186e-05/0.3024, allocations: 111.2 kB / 402.7 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3026, allocations: 346.7 kB / 403.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3027, allocations: 0 / 403.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3027, allocations: 3.938 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3027, allocations: 0 / 403.1 MB, free: 29.76 MB / 298.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.0006016/0.3033, allocations: 0.7126 MB / 403.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3033, allocations: 8.031 kB / 403.8 MB, free: 28.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.3034, allocations: 48.47 kB / 403.8 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.3036, allocations: 274.3 kB / 404.1 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3037, allocations: 16.3 kB / 404.1 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3037, allocations: 8.375 kB / 404.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.304, allocations: 125.9 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.304, allocations: 0 / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.304, allocations: 4 kB / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.304, allocations: 0 / 404.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3042, allocations: 59.95 kB / 404.3 MB, free: 28.4 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3047, allocations: 452.5 kB / 404.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3049, allocations: 94.55 kB / 404.9 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.305, allocations: 84.88 kB / 404.9 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.305, allocations: 0 / 404.9 MB, free: 27.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.3053, allocations: 207.2 kB / 405.1 MB, free: 27.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3053, allocations: 0 / 405.1 MB, free: 27.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006271/0.3059, allocations: 467 kB / 405.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.306, allocations: 170.2 kB / 405.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.3065, allocations: 0.5168 MB / 406.3 MB, free: 26.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.3065, allocations: 33.7 kB / 406.3 MB, free: 26.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.3066, allocations: 97.12 kB / 406.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3066, allocations: 31.64 kB / 406.4 MB, free: 26.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.307e-05/0.3067, allocations: 81.42 kB / 406.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.3067, allocations: 326.8 kB / 406.8 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3068, allocations: 55.97 kB / 406.9 MB, free: 25.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.307, allocations: 69.69 kB / 407 MB, free: 25.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3072, allocations: 339.4 kB / 407.3 MB, free: 25.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3072, allocations: 3.938 kB / 407.3 MB, free: 25.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003976/0.3076, allocations: 380.2 kB / 407.7 MB, free: 24.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.938e-05/0.3077, allocations: 126.8 kB / 407.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3077, allocations: 0 / 407.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3077, allocations: 0 / 407.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.937e-05/0.3077, allocations: 0 / 407.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3077, allocations: 7.984 kB / 407.8 MB, free: 24.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3079, allocations: 15.88 kB / 407.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.723e-05/0.3079, allocations: 40.05 kB / 407.9 MB, free: 24.57 MB / 298.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.0002337/0.3082, allocations: 370.2 kB / 408.2 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.778e-05/0.3082, allocations: 35.62 kB / 408.2 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.923e-05/0.3083, allocations: 67.14 kB / 408.3 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3083, allocations: 3.938 kB / 408.3 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3083, allocations: 3.984 kB / 408.3 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3083, allocations: 0 / 408.3 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.309, allocations: 0.8204 MB / 409.1 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.309, allocations: 0 / 409.1 MB, free: 23.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-06/0.3091, allocations: 3.938 kB / 409.1 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3091, allocations: 4 kB / 409.1 MB, free: 23.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3091, allocations: 11.98 kB / 409.2 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3091, allocations: 4 kB / 409.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3091, allocations: 3.938 kB / 409.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/0.3098, allocations: 1.183 MB / 410.4 MB, free: 21.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3101, allocations: 248.3 kB / 410.6 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.3101, allocations: 12 kB / 410.6 MB, free: 21.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3103, allocations: 15.98 kB / 410.6 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3104, allocations: 23.97 kB / 410.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.3104, allocations: 43.94 kB / 410.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.3108, allocations: 390.9 kB / 411.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3108, allocations: 0 / 411.1 MB, free: 21.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.3111, allocations: 40 kB / 411.1 MB, free: 21.09 MB / 298.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.0001098/0.3113, allocations: 115 kB / 411.2 MB, free: 20.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3116, allocations: 437.5 kB / 411.6 MB, free: 20.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3117, allocations: 0 / 411.6 MB, free: 20.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.3119, allocations: 373.6 kB / 412 MB, free: 20.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.3125, allocations: 119.3 kB / 412.1 MB, free: 19.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.3134, allocations: 0.8965 MB / 413 MB, free: 19.03 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3137, allocations: 0.8102 MB / 413.8 MB, free: 18.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.3138, allocations: 8.656 kB / 413.8 MB, free: 18.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.3138, allocations: 11.44 kB / 413.9 MB, free: 18.17 MB / 298.7 MB Notification: Performance of SimCode: time 7.02e-07/0.3138, allocations: 0 / 413.9 MB, free: 18.17 MB / 298.7 MB Notification: Performance of Templates: time 0.006151/0.3199, allocations: 4.223 MB / 418.1 MB, free: 13.98 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches